NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links

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)

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 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 
) [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,
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 
) [inline]

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 
) [inline]

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 Jun 18 16:12:30 2010 for Healpix C++
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650