npix = nside2npix(128) |
f= randomn(seed,npix) |
n= lindgen(npix)+3 |
map_FN = create_struct('HDR',[' '],'FLUX',f,'NUMBER',n) |
write_fits_sb, 'map_fluxnumber.fits', 0, map_FN, coord='G', /ring |
The structure map_FN is defined to contain a fictitious Flux+number map, where one field is a float and the other an integer. write_fits_sb writes out the contents of map_FN into the extension of the FITS file 'map_fluxnumber.fits'.
Version 3.83, 2024-11-13