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
When calculating with the Beam, SciPy 1.12 raises DeprecationWarning:
DeprecationWarning: 'scipy.integrate.cumtrapz' is deprecated in favour of 'scipy.integrate.cumulative_trapezoid' and will be removed in SciPy 1.14.0
Therefore, we need to replace deprecated cumtrapz() with the cumulative_trapezoid() in SingeRayAttenuator._beam_attenuation(). However, the new name was only introduced in SciPy 1.7, and the tests fail in the Python 3.7 + oldest-supported-numpy environment.
When calculating with the
Beam
, SciPy 1.12 raisesDeprecationWarning
:Therefore, we need to replace deprecated
cumtrapz()
with thecumulative_trapezoid()
inSingeRayAttenuator._beam_attenuation()
. However, the new name was only introduced in SciPy 1.7, and the tests fail in the Python 3.7 + oldest-supported-numpy environment.I suggest using:
The text was updated successfully, but these errors were encountered: