write_fits_map writes out the full sky HEALPix map T_sky into the FITS file File. Extra information about the map can be given in Header according to the FITS header conventions. Coordinate systems can also be specified by Coordsys. Specifying the ordering scheme is compulsary and can be done either in Header or by setting Ordering or Nested or Ring to the correct value. If Ordering or Nested or Ring is set, its value overrides what is given in Header.
For more information on the FITS file format supported in HEALPix, including the one implemented in write_fits_map, see https://healpix.sourceforge.io/data/examples/healpix_fits_specs.pdf.
write_fits_map, 'file.fits', map, coordsys='G', ordering='ring' |
write_fits_map writes out the RING ordered map map in Galactic coordinates into the file file.fits.
Version 3.82, 2022-07-28