Currently in calibrate.register, we use the rotate method on GenericMap to perform the affine transform required to register the map. We currently use the keyword argument use_scipy=True. However, in sunpy>=4.0, this keyword argument has been deprecated in favor of the method= keyword argument. See https://docs.sunpy.org/en/stable/whatsnew/4.0.html#improvements-to-map-and-image-rotation. We should remove the use of use_scipy in favor of method=. I'm not sure the best way to handle this in terms of supporting versions <4.0.
In GitLab by @wtbarnes on Jun 7, 2022, 06:29
Currently in
calibrate.register
, we use therotate
method onGenericMap
to perform the affine transform required to register the map. We currently use the keyword argumentuse_scipy=True
. However, in sunpy>=4.0, this keyword argument has been deprecated in favor of themethod=
keyword argument. See https://docs.sunpy.org/en/stable/whatsnew/4.0.html#improvements-to-map-and-image-rotation. We should remove the use ofuse_scipy
in favor ofmethod=
. I'm not sure the best way to handle this in terms of supporting versions <4.0.