captest.capdata.CapData.filter_shade

CapData.filter_shade(fshdbm=1.0, query_str=None, custom_name=None)

Remove intervals of array shading.

By default removes rows where the PVsyst FShdBm column is below fshdbm. Pass query_str to filter via DataFrame.query instead (e.g. "ShdLoss<=50" when only a shading-loss column is available; the column name must not contain spaces).

Parameters:
  • fshdbm (float, default 1.0) – Shading-fraction threshold; rows with FShdBm below this are removed.

  • query_str (str, default None) – Optional DataFrame.query expression overriding the FShdBm test.

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