Healpix C++
3.83
|
Functions | |
void | read_powspec_from_fits (fitshandle &inp, PowSpec &powspec, int nspecs, int lmax) |
PowSpec | read_powspec_from_fits (fitshandle &inp, int nspecs, int lmax) |
void | read_powspec_from_fits (const std::string &infile, PowSpec &powspec, int nspecs, int lmax, int hdunum=2) |
PowSpec | read_powspec_from_fits (const std::string &infile, int nspecs, int lmax, int hdunum=2) |
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 | ( | fitshandle & | inp, |
PowSpec & | powspec, | ||
int | nspecs, | ||
int | lmax | ||
) |
Reads the power spectrum stored in the FITS binary table pointed to by inp into powspec.
Definition at line 38 of file powspec_fitsio.cc.
PowSpec read_powspec_from_fits | ( | fitshandle & | inp, |
int | nspecs, | ||
int | lmax | ||
) |
Reads the power spectrum stored in the FITS binary table pointed to by inp.
Definition at line 70 of file powspec_fitsio.cc.
void read_powspec_from_fits | ( | const std::string & | infile, |
PowSpec & | powspec, | ||
int | nspecs, | ||
int | lmax, | ||
int | hdunum = 2 |
||
) |
Opens the FITS file filename, jumps to HDU hdunum, and reads nspecs columns into powspec. nspecs must be 1, 4, or 6.
PowSpec read_powspec_from_fits | ( | const std::string & | infile, |
int | nspecs, | ||
int | lmax, | ||
int | hdunum = 2 |
||
) |
Opens the FITS file filename, jumps to HDU hdunum, 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 95 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.