captest.filters.Days

class captest.filters.Days(*, days, drop, custom_name, name)

Keep (or drop) the timestamps belonging to a list of days.

Each entry in days selects all timestamps on that calendar day (DataFrame.loc[day]). By default only those days are kept; set drop=True to remove them and keep everything else.

__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

days

drop

explanation

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

name

param