captest.capdata.CapData.filter_pf

CapData.filter_pf(pf, custom_name=None)

Remove intervals with a power factor below pf.

Keeps rows where every column in the power-factor group (the first column_groups key beginning with pf) has an absolute value at or above pf.

Parameters:
  • pf (float) – Power-factor threshold (e.g. 0.999). Rows with any |pf| below this are removed.

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