Update map_coordinates import
andykee opened this issue · comments
The scipy.ndimage.interpolation
namespace is being deprecated:
DeprecationWarning: Please use `map_coordinates` from the `scipy.ndimage` namespace, the
`scipy.ndimage.interpolation` namespace is deprecated.
from scipy.ndimage.interpolation import map_coordinates
This import needs to be updated in the util
module.
A quick check shows map_coordinates
has been available in the ndimage
namespace since pretty much the beginning of Scipy (2007), so there shouldn't be any backwards compatibility issues.