register¶
- aiapy.calibrate.register(smap, missing=None, order=3, use_scipy=False)[source]¶
Processes a full-disk level 1
AIAMap
into a level 1.5AIAMap
.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
orHMIMap
) – AMap
containing a full-disk AIA image or HMI magnetogrammissing (
float
, optional) – If there are missing values after the interpolation, they will be filled in withmissing
. If None, the default value will be the minimum value ofsmap
order (
int
, optional) – Order of the spline interpolationuse_scipy (
bool
, optional) – If True, useaffine_transform
to do the image warping. Otherwise, usewarp
(recommended).
- Returns
- Return type