captest.capdata.CapData.filter_threshold
- CapData.filter_threshold(column, low=None, high=None, custom_name=None)
Keep intervals where
columnis within[low, high].Either bound may be None for a one-sided filter: pass only
lowto keep rows at or above it, or onlyhighto keep rows at or below it. Bounds are inclusive (>=/<=) — unlike the formerfilter_availhelper this replaces, which used a strict>. Backed by theIrradiancefilter, so the recorded step serializes and replays as anIrradiancestep.- Parameters:
column (str) – Column to threshold.
low (float, default None) – Lower bound (inclusive). None means unbounded below.
high (float, default None) – Upper bound (inclusive). None means unbounded above.
custom_name (str, default None) – Optional display label for the recorded filter step.