Currently, we try to from scipy.integrate import trapz, and this has been deprecated and removed as of scipy version 1.14.0. So you'll see an error like: ImportError: cannot import name 'trapz' from 'scipy.integrate', if you try to with a newer version of scipy.
I don't think we even use this function though, so we should be able to just remove it entirely.
Currently, we try to
from scipy.integrate import trapz
, and this has been deprecated and removed as of scipy version 1.14.0. So you'll see an error like:ImportError: cannot import name 'trapz' from 'scipy.integrate'
, if you try to with a newer version of scipy.I don't think we even use this function though, so we should be able to just remove it entirely.