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, 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)

Detailed Description


Function Documentation

template<typename T>
void read_Healpix_map_from_fits ( fitshandle inp,
Healpix_Map< T > &  map,
int  colnum = 1 
) [inline]

Reads the map stored in column colnum of the FITS binary table pointed to by inp into map.

Definition at line 52 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 
) [inline]

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,
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.

template<typename T>
void write_Healpix_map_to_fits ( fitshandle out,
const Healpix_Map< T > &  map,
PDT  datatype 
) [inline]

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

Definition at line 154 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,
PDT  datatype 
) [inline]

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 171 of file healpix_map_fitsio.cc.

template<typename T>
void write_Healpix_map_to_fits ( const std::string &  outfile,
const Healpix_Map< T > &  map,
PDT  datatype 
) [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 85 of file healpix_map_fitsio.h.

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 
) [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 95 of file healpix_map_fitsio.h.


Generated on Thu Oct 8 14:48:52 2015 for Healpix C++