# aiaprep¶

sunpy.instr.aia.aiaprep(aiamap)[source] [edit on github]

Processes a 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 Map’s rotate() method.

This function is similar in functionality to aia_prep() in SSWIDL, but it does not use the same transformation to rotate the image and it handles the meta data differently. It should therefore not be expected to produce the same results.

Parameters: aiamap (AIAMap instance) – A sunpy.map.Map from AIA newmap (A level 1.5 copy of AIAMap)

Notes

This routine makes use of Map’s rotate() method, which 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.