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) |
void | write_powspec_to_fits (const std::string &outfile, const PowSpec &powspec, int nspecs) |
void read_powspec_from_fits | ( | const std::string & | infile, | |
PowSpec & | powspec, | |||
int | nspecs, | |||
int | lmax | |||
) |
Opens the FITS file filename, jumps to HDU 2, and reads nspecs columns into powspec. nspecs must be 1, 4, or 6.
void write_powspec_to_fits | ( | fitshandle & | out, | |
const PowSpec & | powspec, | |||
int | nspecs | |||
) |
Inserts a new binary table into out, which contains nspecs columns of FITS type TDOUBLE, and writes the components of powspec into it. nspecs must be 1, 4, or 6.
Definition at line 73 of file powspec_fitsio.cc.
void write_powspec_to_fits | ( | const std::string & | outfile, | |
const PowSpec & | powspec, | |||
int | nspecs | |||
) |
Creates a new FITS file called outfile, inserts a binary table, which contains nspecs columns of FITS type TDOUBLE, and writes the components of powspec into it. nspecs must be 1, 4, or 6.