Healpix C++
3.83
|
Functions | |
template<typename T > | |
void | read_Healpix_map_from_fits (fitshandle &inp, Healpix_Map< T > &map, int colnum=1) |
template<typename T > | |
Healpix_Map< T > | read_Healpix_map_from_fits (fitshandle &inp, int colnum=1) |
template<typename T > | |
void | read_Healpix_map_from_fits (const std::string &filename, Healpix_Map< T > &map, int colnum=1, int hdunum=2) |
template<typename T > | |
Healpix_Map< T > | read_Healpix_map_from_fits (const std::string &filename, int colnum=1, int hdunum=2) |
void | prepare_Healpix_fitsmap (fitshandle &out, const Healpix_Base &base, PDT datatype, const arr< std::string > &colname) |
template<typename T > | |
void | write_Healpix_map_to_fits (fitshandle &out, const Healpix_Map< T > &map, PDT datatype) |
template<typename T > | |
void | write_Healpix_map_to_fits (fitshandle &out, const Healpix_Map< T > &mapT, const Healpix_Map< T > &mapQ, const Healpix_Map< T > &mapU, PDT datatype) |
template<typename T > | |
void | write_Healpix_map_to_fits (const std::string &outfile, const Healpix_Map< T > &map, PDT datatype) |
template<typename T > | |
void | write_Healpix_map_to_fits (const std::string &outfile, const Healpix_Map< T > &mapT, const Healpix_Map< T > &mapQ, const Healpix_Map< T > &mapU, PDT datatype) |
void read_Healpix_map_from_fits | ( | fitshandle & | inp, |
Healpix_Map< T > & | map, | ||
int | colnum = 1 |
||
) |
Reads the map stored in column colnum of the FITS binary table pointed to by inp into map.
Definition at line 60 of file healpix_map_fitsio.cc.
Healpix_Map<T> read_Healpix_map_from_fits | ( | fitshandle & | inp, |
int | colnum = 1 |
||
) |
Returns the map stored in column colnum of the FITS binary table pointed to by inp.
Definition at line 79 of file healpix_map_fitsio.cc.
void read_Healpix_map_from_fits | ( | const std::string & | filename, |
Healpix_Map< T > & | map, | ||
int | colnum = 1 , |
||
int | hdunum = 2 |
||
) |
Opens the FITS file filename, jumps to the HDU hdunum, and reads the column colnum into map.
Healpix_Map<T> read_Healpix_map_from_fits | ( | const std::string & | filename, |
int | colnum = 1 , |
||
int | hdunum = 2 |
||
) |
Opens the FITS file filename, jumps to the HDU hdunum, and returns the map in column colnum.
void prepare_Healpix_fitsmap | ( | fitshandle & | out, |
const Healpix_Base & | base, | ||
PDT | datatype, | ||
const arr< std::string > & | colname | ||
) |
Inserts a new binary table into out, which contains one column of Planck type datatype with the name name, and writes all HEALPix specific keywords based on the information in base.
void write_Healpix_map_to_fits | ( | fitshandle & | out, |
const Healpix_Map< T > & | map, | ||
PDT | datatype | ||
) |
Inserts a new binary table into out, which contains one column of Planck type datatype, and stores map into this column.
Definition at line 194 of file healpix_map_fitsio.cc.
void write_Healpix_map_to_fits | ( | fitshandle & | out, |
const Healpix_Map< T > & | mapT, | ||
const Healpix_Map< T > & | mapQ, | ||
const Healpix_Map< T > & | mapU, | ||
PDT | datatype | ||
) |
Inserts a new binary table into out, which contains three columns of Planck type datatype, and stores mapT, mapQ and mapU into these columns.
Definition at line 211 of file healpix_map_fitsio.cc.
|
inline |
Creates a new FITS file with the name outfile, with a binary table in HDU 2, which contains one column of Planck type datatype, and stores map into this column.
Definition at line 93 of file healpix_map_fitsio.h.
|
inline |
Creates a new FITS file with the name outfile, with a binary table in HDU 2, which contains three columns of Planck type datatype, and stores mapT, mapQ and mapU into this column.
Definition at line 103 of file healpix_map_fitsio.h.