fits2cl reads the power spectrum coefficients from a FITS file containing an ascii table extension. Descriptive headers conforming to the FITS convention can also be read from the input file.
fits2cl, pwrsp, '$HEALPIX/test/cl.fits', $ |
HDR=hdr, XHDR=xhdr, MULTI=l, LLFACT=fll |
plot, l, powrsp[*,0]*fll |
fits2cl reads a power spectrum from the input FITS file $HEALPIX/test/cl.fits into the variable pwrsp, with optional headers passed by the string variables hdr and xhdr. The multipoles and factors are read into l and fll respectively. vs is then plotted.
Version 3.82, 2022-07-28