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
We use from scipy.interpolate import interp1d in multiple parts of the code, namely
from scipy.interpolate import interp1d
pisa/pisa/core/prior.py
Line 14 in cfeb9b4
pisa/pisa/stages/background/atm_muons.py
Line 7 in cfeb9b4
pisa/pisa/utils/spline_smooth.py
Line 10 in cfeb9b4
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.
The text was updated successfully, but these errors were encountered:
I'm finding a few more occurrences: https://github.com/search?q=repo%3Aicecube%2Fpisa%20interp1d&type=code
Sorry, something went wrong.
Scipy docs suggest the following replacement for "broken-line" interpolation: https://docs.scipy.org/doc/scipy/tutorial/interpolate/1D.html#piecewise-linear-interpolation
But in the numpy version you have to do the interpolation again every time you want to evaluate it.
No branches or pull requests
We use
from scipy.interpolate import interp1d
in multiple parts of the code, namelypisa/pisa/core/prior.py
Line 14 in cfeb9b4
pisa/pisa/stages/background/atm_muons.py
Line 7 in cfeb9b4
pisa/pisa/utils/spline_smooth.py
Line 10 in cfeb9b4
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.
The text was updated successfully, but these errors were encountered: