cherab / core

The core source repository for the Cherab project.
https://www.cherab.info
Other
44 stars 24 forks source link

Fix SciPy cumtrapz deprecation warning #437

Closed vsnever closed 3 months ago

vsnever commented 3 months ago

This PR fixes SciPy DeprecationWarning (#436):

DeprecationWarning: 'scipy.integrate.cumtrapz' is deprecated in favour of 'scipy.integrate.cumulative_trapezoid' and will be removed in SciPy 1.14.0

when performing any calculations with the Beam object configured to use SingleRayAttenuator.