NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


write_asctab*


This routine stores a power spectrum in an ascii FITS-file. The routine can store temperature coeffecients ClT or both temperature and polarisation coeffecients ClT, ClE, ClB, ClT x E.


Location in HEALPix directory tree: src/f90/mod/fitstools.f90


FORMAT

call write_asctab*( clout, lmax, ncl, header, nlheader, filename )


ARGUMENTS

name & dimensionality kind in/out description
       
filename(LEN=filenamelen) CHR IN the FITS file to which the power spectrum is written.
lmax I4B IN Maximum l value to be written.
ncl I4B IN 1 for temperature coeffecients only, 4 for polarisation.
clout(0:lmax,1:ncl) SP/ DP IN the powerspectrum to be saved in the file.
nlheader I4B IN number of header lines to write to the file.
header(LEN=80) (1:nlheader) CHR IN the header to the FITS-file.


EXAMPLE:

call write_asctab (cl,64,1,header,80,'cl.fits')

Writes a powerspectrum in the array cl(0:64,1:1) to a FITS-file called `cl.fits'. The cl array contains the temperature powerspectrum ClT up to an l value of 64. 80 header lines are written to the file from the array header(1:80).

MODULES & ROUTINES

This section lists the modules and routines used by write_asctab*.

fitstools
module, containing:
printerror
routine for printing FITS error messages.
cfitsio
library for FITS file handling.


RELATED ROUTINES

This section lists the routines related to write_asctab*


alm2cl
Routine computing the power spectrum from spherical harmonics coefficients alm
fits2cl
Routine to read a FITS file created by write_asctab.
write_minimal_header
routine to write minimal FITS header

Eric Hivon 2010-06-18
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650