For more information on the FITS file format supported in HEALPix, including the one implemented in write_fits_partial, see https://healpix.sourceforge.io/data/examples/healpix_fits_specs.pdf
nside = 512 |
pixel = lindgen(nside2npix(nside)/10) |
write_fits_partial, 'map_part_T.fits', pixel, pixel*100., $ |
nside=nside, units='K', /ring |
write_fits_partial, 'map_part_TQU.fits', pixel, pixel#[100.,1.,1.], $ |
nside=nside, units='K', /ring |
write_fits_partial, 'map_part_xxxx.fits', pixel, pixel#[1.,-2.,3.,-4.], $ |
nside=nside,colnames=['c1',B2','xx','POWER'],units=['K','m','s','W'],$ |
/ring |
will write in 'map_part_T.fits' a FITS binary table with the columns PIXEL and TEMPERATURE; in 'map_part_TQU.fits' a table with the columns PIXEL, TEMPERATURE, Q_POLARISATION and U_POLARISATION; and in 'map_part_xxxx.fits' a table with the columns PIXEL, C1, B2, XX and POWER.
Version 3.83, 2024-11-13