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

scipy.interpolate.interp1d may be removed in future scipy version #801

Open
JanWeldert opened this issue Aug 12, 2024 · 3 comments
Open

Comments

@JanWeldert
Copy link
Contributor

JanWeldert commented Aug 12, 2024

We use from scipy.interpolate import interp1d in multiple parts of the code, namely

At the moment we are safe because we limit the scipy version, but in the future when we allow for newer versions of scipy this might become a problem.

@thehrh
Copy link
Contributor

thehrh commented Aug 12, 2024

@thehrh
Copy link
Contributor

thehrh commented Aug 12, 2024

Scipy docs suggest the following replacement for "broken-line" interpolation: https://docs.scipy.org/doc/scipy/tutorial/interpolate/1D.html#piecewise-linear-interpolation

@JanWeldert
Copy link
Contributor Author

But in the numpy version you have to do the interpolation again every time you want to evaluate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants