captest.filters.BaseSummaryStep
- class captest.filters.BaseSummaryStep(*, custom_name, name)
Common ancestor for steps that appear in the filtering summary.
Holds the shared lifecycle (run), the optional custom_name display parameter, and the args_repr rendering used by the summary table. Subclasses implement _execute, returning the pandas
Indexof rows to keep after the step.Runtime state (pts_after, ix_after) is set by run as plain attributes and is never serialized. A step’s “before” index/count and points-removed are not stored — they are chain-derived on demand via CapData._ix_before/_pts_before.
- __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
nameis omitted).Attributes
args_reprRender the step's params for the summary.
custom_nameexplanationHuman-readable description of the step's effect (read after run()).
nameparam