- aiapy.calibrate.register(smap, *, missing=None, order=3, method='scipy')#
Rotates, scales and translates the image so that solar North is aligned with the y axis, each pixel is 0.6 arcsec across, and the center of the Sun is at the center of the image. The actual transformation is done by the
This function might not return a 4096 by 4096 data array due to the nature of rotating and scaling the image. If you need a 4096 by 4096 image, you will need to pad the array manually, update header: crpix1 and crpix2 by the difference divided by 2 in size along that axis. Then create a new map.
Please open an issue on the aiapy GitHub page if you would like to see this changed.
This routine modifies the header information to the standard
PCi_jWCS formalism. The FITS header resulting in saving a file after this procedure will therefore differ from the original file.
int, optional) – Order of the spline interpolation.
'cupy'}, optional) – Rotation function to use. Defaults to
- Return type: