You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a warning with newer versions of scipy due to the use of interp2d, perhaps this is something to fix as interp2d will be removed in scipy 1.12.0 (released in January).
/home/j/miniforge/envs/openmc-dev/lib/python3.10/site-packages/NeSST/spectral_model.py:280: DeprecationWarning: `interp2d` is deprecated!
`interp2d` is deprecated in SciPy 1.10 and will be removed in SciPy 1.12.0.
For legacy code, nearly bug-for-bug compatible replacements are
`RectBivariateSpline` on regular grids, and `bisplrep`/`bisplev` for
scattered 2D data.
In new code, for regular grids use `RegularGridInterpolator` instead.
For scattered data, prefer `LinearNDInterpolator` or
`CloughTocher2DInterpolator`.
For more details see
`https://gist.github.com/ev-br/8544371b40f414b7eaf3fe6217209bff`
I also tried to replace interp1d as they are warning that it is considered legacy, but it has an axis functionality which isn't in the new scipy.interpolate functions as far as I can tell.
Will do some proper testing to check it hasn't changed anything, the example notebook looks pretty much unchanged but I'll be more thorough.
I'm getting a warning with newer versions of scipy due to the use of interp2d, perhaps this is something to fix as interp2d will be removed in scipy 1.12.0 (released in January).
link to scipy docs.
https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp2d.html
The text was updated successfully, but these errors were encountered: