Healpix C++  3.82
Functions
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 >
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)
 

Detailed Description

Function Documentation

◆ read_Healpix_map_from_fits() [1/4]

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

◆ read_Healpix_map_from_fits() [2/4]

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

◆ read_Healpix_map_from_fits() [3/4]

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.

◆ read_Healpix_map_from_fits() [4/4]

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

◆ prepare_Healpix_fitsmap()

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.

◆ write_Healpix_map_to_fits() [1/4]

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

◆ write_Healpix_map_to_fits() [2/4]

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 
)

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.

◆ write_Healpix_map_to_fits() [3/4]

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 93 of file healpix_map_fitsio.h.

◆ write_Healpix_map_to_fits() [4/4]

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 103 of file healpix_map_fitsio.h.


Generated on Thu Jul 28 2022 17:32:07 for Healpix C++