captest.capdata.CapData.filter_irr

CapData.filter_irr(low, high, ref_val=None, col_name=None, custom_name=None)

Filter on irradiance values.

Parameters:
  • low (float or int) – Minimum value as fraction (0.8) or absolute 200 (W/m^2).

  • high (float or int) – Max value as fraction (1.2) or absolute 800 (W/m^2).

  • ref_val (float or int or 'rep_irr') – Must provide arg when low and high are fractions. Pass 'rep_irr' to use the reporting irradiance from rep_irr (set by calling rep_cond() first). Within a CapTest, 'rep_irr' resolves against the single test reporting conditions ct.rc, so a sim filter can anchor on the test’s reporting irradiance without passing the value manually.

  • col_name (str, default None) – Column name of irradiance data to filter. By default uses the POA irradiance set in regression_cols attribute or average of the POA columns.

  • custom_name (str, default None) – Optional display label for the recorded filter step.