Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

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)

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 Jul 8 09:37:15 2005 for Healpix C++