captest.filters.PowerFactor

class captest.filters.PowerFactor(*, pf, custom_name, name)

Remove intervals with a power factor below a threshold.

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.

__init__(**params)

Methods

__init__(**params)

from_config(config)

Build an instance from a to_config() dict.

run(capdata)

Execute the step, record runtime state, and append self to filters.

to_config()

Serialize this step to a config dict (every param, defaults included; the param-system name is omitted).

Attributes

args_repr

Render the step's params for the summary.

custom_name

explanation

Human-readable description of the step's effect (read after run()).

name

param

pf