-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
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
ENH: signal: add type=False as parameter for periodogram and welch #3266
Conversation
|
Ok, I see the point. I have updated to |
I agree with the last comment on the mailing list that this looks weird. Why have a do-nothing option in |
It will defininitely look strange for a user of |
@mawesi yes, +1 from me |
Add the option to give
type=None
as parameter to signal.detrend. This will turn off detrending and return the input data. This is especially useful for functions using signal.detrend internally, such as signal.welch or signal.periodogram.