getsize_fits gets the number of pixels in a FITS file. If the file follows the HEALPix standard, the routine can also get the resolution parameter Nside, the ordering scheme, ..., and can determine the type of data set contained in the file.
npix = getsize_fits(!healpix.directory+'/test/map.fits', nside=nside, $ |
mlpol=lmax, type=filetype) |
print, npix, nside, lmax, filetype |
Version 3.83, 2024-11-13