captest.capdata.CapData.set_regression_cols

CapData.set_regression_cols(power='', poa='', t_amb='', w_vel='')

Create a dictionary linking the regression variables to data.

As of v0.15.0 prefer using a predefined test setup that includes a regression column dictionary or assigning a dictionary to the regression_cols attribute directly.

Links the independent regression variables to the appropriate translation keys or a column name may be used to specify a single column of data.

Sets attribute and returns nothing.

Parameters:
  • power (str) – Translation key for the power variable.

  • poa (str) – Translation key for the plane of array (poa) irradiance variable.

  • t_amb (str) – Translation key for the ambient temperature variable.

  • w_vel (str) – Translation key for the wind velocity key.