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

FITS-based I/O of HEALPix maps


Functions

template<typename T>
void read_Healpix_map_from_fits (fitshandle &inp, Healpix_Map< T > &map, 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)
void prepare_Healpix_fitsmap (fitshandle &out, const Healpix_Base &base, int datatype, const arr< std::string > &colname)
template<typename T>
void write_Healpix_map_to_fits (fitshandle &out, const Healpix_Map< T > &map, int 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, int datatype)

Function Documentation

template<typename T>
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 39 of file healpix_map_fitsio.cc.

template<typename T>
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.

void prepare_Healpix_fitsmap fitshandle out,
const Healpix_Base base,
int  datatype,
const arr< std::string > &  colname
 

Inserts a new binary table into out, which contains one column of FITS type datatype with the name name, and writes all HEALPix specific keywords based on the information in base.

template<typename T>
void write_Healpix_map_to_fits fitshandle out,
const Healpix_Map< T > &  map,
int  datatype
 

Inserts a new binary table into out, which contains one column of FITS type datatype, and stores map into this column.

Definition at line 93 of file healpix_map_fitsio.cc.

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,
int  datatype
 

Inserts a new binary table into out, which contains three columns of FITS type datatype, and stores mapT, mapQ and mapU into these columns.

Definition at line 110 of file healpix_map_fitsio.cc.


Generated on Fri Jul 8 09:37:15 2005 for Healpix C++