OptionalhpHighpass cutoff as a fraction of the Nyquist frequency, in (0, 1), equal to 2 / hp_period. Give exactly one of hp_period and hp_cutoff.
OptionalhpHighpass cutoff as a cycle length in samples; longer cycles (the trend) are removed. Give exactly one of hp_period and hp_cutoff. 48 is a common starting value.
OptionallpLowpass cutoff as a fraction of the Nyquist frequency, in (0, 1), equal to 2 / lp_period. Give exactly one of lp_period and lp_cutoff.
OptionallpLowpass cutoff as a cycle length in samples; shorter cycles (noise) are removed. Give exactly one of lp_period and lp_cutoff. 10 is a common starting value.
OptionalstartInitial filter state. "steady" sets the state, at the first non-NaN input x0, to the steady state for a constant input x0, so the output starts at 0. "zero" starts from an all-zero state, as scipy.signal.lfilter does.
The settings of RoofingFilter by name, for
RoofingFilter({ ... }).