Closed aidanmontare-fed closed 7 months ago
switch from scipy.integrate.simps to scipy.integrate.simpson
scipy.integrate.simps
scipy.integrate.simpson
scipy.integrate.simps was deprecated in scipy 1.12.0 and will be removed in 1.14 (the upcoming minor version number).
https://docs.scipy.org/doc/scipy/release/1.12.0-notes.html#deprecated-features
This does introduce a requirement of scipy>=1.6.0, which is when scipy.integrate.simpson was introduced
https://docs.scipy.org/doc/scipy/release/1.6.0-notes.html#scipy-integrate-improvements
We could use a conditional import if we want compatability with older versions?
coverage: 89.396% (-2.7%) from 92.13% when pulling bb5555799d1b4351013f6e96f9b7881e1b7996c6 on aidanmontare-fed:fix-deprecated-simpson into 8faefa93fc810a1e73cce6dc50d5c80b7ca7599d on aewallin:master.
scipy 1.6.0 release date seems to be around 2020? I guess the >=1.6.0 requirement doesn't affect that many users..
switch from
scipy.integrate.simps
toscipy.integrate.simpson
scipy.integrate.simps was deprecated in scipy 1.12.0 and will be removed in 1.14 (the upcoming minor version number).
https://docs.scipy.org/doc/scipy/release/1.12.0-notes.html#deprecated-features
This does introduce a requirement of scipy>=1.6.0, which is when scipy.integrate.simpson was introduced
https://docs.scipy.org/doc/scipy/release/1.6.0-notes.html#scipy-integrate-improvements
We could use a conditional import if we want compatability with older versions?