The recent version of SciPy, 1.14, removes the old names of some integration routines, as the deprecation process ended. This causes problems in fdasrsf, as the old names are still in use:
from fdasrsf.utility_functions import optimum_reparam
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/fdasrsf/__init__.py:93: in <module>
from .curve_pcr_regression import elastic_curve_pcr_regression
/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/fdasrsf/curve_pcr_regression.py:15: in <module>
from scipy.integrate import trapz, cumtrapz
E ImportError: cannot import name 'trapz' from 'scipy.integrate' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/scipy/integrate/__init__.py)
This should be fixed in order to work with that version of SciPy.
The recent version of SciPy, 1.14, removes the old names of some integration routines, as the deprecation process ended. This causes problems in fdasrsf, as the old names are still in use:
This should be fixed in order to work with that version of SciPy.