fits2cl*
call fits2cl*( filename, clin, lmax, ncl, header, [units] )
name & dimensionality | kind | in/out | description |
---|---|---|---|
filename(LEN=filenamelen) | CHR | IN | the FITS file containing the power spectrum. |
lmax | I4B | IN | Maximum l value to be read. |
ncl | I4B | IN | 1 for temperature coeffecients only, 4 for polarisation. |
clin(0:lmax,1:ncl) | SP/ DP | OUT | the power spectrum read from the file. |
header(LEN=80) (1:) | CHR | OUT | the header read from the FITS-file. |
units(LEN=80) (1:) | CHR | OUT | the column units read from the FITS-file. |
Reads a power spectrum from the FITS file `cl.fits' and stores the result in cl(0:64,1:4) which are the Cl coeffecients up to l=64 for (T, E, B, T x E). The FITS header is returned in header, the column units in units.
Version 3.11, 2013-04-24