update_pointing#

aiapy.calibrate.update_pointing(smap, *, pointing_table)[source]#

Update the pointing information in the input map header.

This function updates the pointing information in smap by updating the CRPIX1, CRPIX2, CDELT1, CDELT2, CROTA2 keywords in the header using the information provided in pointing_table.

Note

The method removes any PCi_j matrix keys in the header and updates the CROTA2 keyword.

Warning

This function is only intended to be used for full-disk images at the full resolution of 4096x4096 pixels. It will raise a ValueError if the input map does not meet these criteria.

Parameters:
Returns:

Updated map with pointing information.

Return type:

AIAMap

See also

None