Skip to content
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: scipy.signal: add detrend #7536

Merged
merged 5 commits into from
May 18, 2023
Merged

ENH: scipy.signal: add detrend #7536

merged 5 commits into from
May 18, 2023

Conversation

ev-br
Copy link
Contributor

@ev-br ev-br commented Apr 29, 2023

Add cupux.scipy.signal.detrend. This is fairly trivial subtraction of a linear LSQ fit from the input, real work is done in lstsq, so the rest can stay in pure python.

Tests are mirroring those in scipy.signal, the corresponding scipy PR is scipy/scipy#18383

cross-ref #7403

@takagi
Copy link
Member

takagi commented May 8, 2023

/test mini

@mergify
Copy link
Contributor

mergify bot commented May 16, 2023

This pull request is now in conflicts. Could you fix it @ev-br? 🙏

Copy link
Member

@takagi takagi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@takagi
Copy link
Member

takagi commented May 17, 2023

/test mini

@takagi
Copy link
Member

takagi commented May 17, 2023

/test mini

@takagi takagi merged commit f5b79d2 into cupy:main May 18, 2023
46 of 50 checks passed
@takagi
Copy link
Member

takagi commented May 18, 2023

Thanks, @ev-br!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants