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

FITS-based I/O of power spectra


Functions

void read_powspec_from_fits (const std::string &infile, PowSpec &powspec, int nspecs, int lmax)
void write_powspec_to_fits (fitshandle &out, const PowSpec &powspec, int nspecs)

Detailed Description


Function Documentation

void read_powspec_from_fits ( const std::string &  infile,
PowSpec powspec,
int  nspecs,
int  lmax 
)

Opens the FITS file filename, jumpd to HDU 2, and reads nspecs columns into powspec. nspecs must be 1 or 4.

void write_powspec_to_fits ( fitshandle out,
const PowSpec powspec,
int  nspecs 
)

Inserts a new binary table into out, which contains one or four columns of FITS type TDOUBLE, and writes the components of powspec into it.

Definition at line 118 of file powspec_fitsio.cc.


Generated on Fri Jun 18 16:12:30 2010 for Healpix C++
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650