create_headers#
- stixpy.visualisation.map_reprojection.create_headers(obs_ref_coord, map, out_shape=None, out_scale=None)[source]#
Generates MetaDict and WCS headers for reprojected map
- Parameters:
obs_ref_coord (
sunpy.map.Map) – Target WCS reference coordinate (as seen by observer). Generated in map_reproject_to_observer function.out_shape (
tuple) – The shape of the reprojected map - defaults to (512, 512)out_scale (
Quantity) – The scale of the output map
- Returns:
obs_wcs_header (
astropy.wcs) – WCS header for reprojected mapobs_metadict_header (
MetaDict) – MetaDict header for reprojected map