captest.filters.Power

class captest.filters.Power(*, columns, percent, power, custom_name, name)

Remove intervals at or above a power threshold.

With percent set, power is treated as nameplate and the effective threshold is power * (1 - percent). columns selects the power data: None uses the regression power column; a column-group key applies the threshold across the group; a bare column name uses that column.

__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.

columns

custom_name

explanation

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

name

param

percent

power