read_asctab
call read_asctab( filename, clin, lmax, ncl, header, nlheader )
name&dimensionality | kind | in/out | description |
---|---|---|---|
filename(LEN=filenamelen) | CHR | IN | the FITS file containing the powerspectrum. |
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 | OUT | the powerspectrum read from the file. |
nlheader | I4B | IN | number of header lines to read from the file. |
header(LEN=80) (1:nlheader) | CHR | OUT | the header read from the FITS-file. |
Reads a powerspectrum from the ascii 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×E). 80 lines are read from the FITS header and returned in header(1:80).
Eric Hivon 2003-02-07