# register¶

aiapy.calibrate.register(smap, missing=None, order=3, use_scipy=False)[source]

Processes a full-disk level 1 AIAMap into a level 1.5 AIAMap.

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 rotate method.

Note

This routine modifies the header information to the standard PCi_j WCS formalism. The FITS header resulting in saving a file after this procedure will therefore differ from the original file.

Parameters
• smap (AIAMap or HMIMap) – A Map containing a full-disk AIA image or HMI magnetogram

• missing (float, optional) – If there are missing values after the interpolation, they will be filled in with missing. If None, the default value will be the minimum value of smap

• order (int, optional) – Order of the spline interpolation

• use_scipy (bool, optional) – If True, use affine_transform to do the image warping. Otherwise, use warp (recommended).

Returns

A level 1.5 copy of AIAMap or HMIMap.

Return type

AIAMap or HMIMap