solar_frame_to_wcs_mapping

sunpy.coordinates.wcs_utils.solar_frame_to_wcs_mapping(frame, projection='TAN')[source]

For a given frame, this function returns the corresponding WCS object. It registers the WCS coordinates types from their associated frame in the astropy.wcs.utils.celestial_frame_to_wcs registry.

Parameters
  • frame (astropy.coordinates.BaseCoordinateFrame)

  • projection (str, optional)

Returns

astropy.wcs.WCS