We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently only the (default) Butterworth method for filter allows to pass a list of scales/frequencies to obtain a bandpass-filtered series.
filter
ts.filter(method='lanczos',cutoff_scale=[2,8])
returns: ValueError: Lanczos filter requires a scalar input as cutoff scale/frequency
ValueError: Lanczos filter requires a scalar input as cutoff scale/frequency
However, nothing prevents a lowpass filter from being used as a bandpass filter, like so:
ts_hi = ts.filter(method = 'my non_butterworth method', scale = scale_hi) ts_lo = ts.filter(method = 'my non_butterworth method', scale = scale_lo) ts_bd = ts_hi - ts_lo
This should be what happens when calling ts.filter(method = 'my non_butterworth method', scale = [scale_hi, scale_lo])
ts.filter(method = 'my non_butterworth method', scale = [scale_hi, scale_lo])
Suggest generalizing so that this option is available to all methods
The text was updated successfully, but these errors were encountered:
CommonClimate
No branches or pull requests
Currently only the (default) Butterworth method for
filter
allows to pass a list of scales/frequencies to obtain a bandpass-filtered series.returns:
ValueError: Lanczos filter requires a scalar input as cutoff scale/frequency
However, nothing prevents a lowpass filter from being used as a bandpass filter, like so:
This should be what happens when calling
ts.filter(method = 'my non_butterworth method', scale = [scale_hi, scale_lo])
Suggest generalizing so that this option is available to all methods
The text was updated successfully, but these errors were encountered: