captest.capdata.CapData.filter_threshold

CapData.filter_threshold(column, low=None, high=None, custom_name=None)

Keep intervals where column is within [low, high].

Either bound may be None for a one-sided filter: pass only low to keep rows at or above it, or only high to keep rows at or below it. Bounds are inclusive (>= / <=) — unlike the former filter_avail helper this replaces, which used a strict >. Backed by the Irradiance filter, so the recorded step serializes and replays as an Irradiance step.

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.