Allow `aiapy.calibrate.register` to accept submaps
Currently, register
will throw an exception if you try to pass it anything but a full-disk image. This is because of the way register
uses the underlying rotate
method on sunpy.map.Map
. We should figure out how to relax this assumption (maybe it does already work??).
A simple test would be to call register on a full disk map and then do a cutout, and then do the operation in reverse order (i.e. cutout, register) and compare the two. Where are they different? why? If implemented, this should become a test.
This would be a great feature to have as it would mean one can "prep" cutouts from the JSOC. As it stands right now, to do cross-channel alignment, one has to retrieve full-disk images.