Citlali
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
fitsIO< file_type, ext_hdu_t > Class Template Reference

#include <fits_io.h>

Collaboration diagram for fitsIO< file_type, ext_hdu_t >:
Collaboration graph

Public Member Functions

 fitsIO ()
 
 fitsIO (std::string _f)
 
template<typename Derived >
void add_hdu (std::string hdu_name, Eigen::DenseBase< Derived > &data)
 
auto get_hdu (std::string hdu_name)
 
template<typename hdu_t , class wcs_t , typename epoch_t >
void add_wcs (hdu_t *hdu, wcs_t &wcs, const epoch_t epoch)
 

Public Attributes

std::shared_ptr< spdlog::logger > logger = spdlog::get("citlali_logger")
 
std::string filepath
 
std::unique_ptr< CCfits::FITS > pfits
 
std::vector< ext_hdu_t > hdus
 

Constructor & Destructor Documentation

◆ fitsIO() [1/2]

template<file_type_enum file_type, typename ext_hdu_t >
fitsIO< file_type, ext_hdu_t >::fitsIO ( )
inline

◆ fitsIO() [2/2]

template<file_type_enum file_type, typename ext_hdu_t >
fitsIO< file_type, ext_hdu_t >::fitsIO ( std::string  _f)
inline

Member Function Documentation

◆ add_hdu()

template<file_type_enum file_type, typename ext_hdu_t >
template<typename Derived >
void fitsIO< file_type, ext_hdu_t >::add_hdu ( std::string  hdu_name,
Eigen::DenseBase< Derived > &  data 
)
inline

◆ add_wcs()

template<file_type_enum file_type, typename ext_hdu_t >
template<typename hdu_t , class wcs_t , typename epoch_t >
void fitsIO< file_type, ext_hdu_t >::add_wcs ( hdu_t *  hdu,
wcs_t &  wcs,
const epoch_t  epoch 
)
inline

◆ get_hdu()

template<file_type_enum file_type, typename ext_hdu_t >
auto fitsIO< file_type, ext_hdu_t >::get_hdu ( std::string  hdu_name)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ filepath

template<file_type_enum file_type, typename ext_hdu_t >
std::string fitsIO< file_type, ext_hdu_t >::filepath

◆ hdus

template<file_type_enum file_type, typename ext_hdu_t >
std::vector<ext_hdu_t> fitsIO< file_type, ext_hdu_t >::hdus

◆ logger

template<file_type_enum file_type, typename ext_hdu_t >
std::shared_ptr<spdlog::logger> fitsIO< file_type, ext_hdu_t >::logger = spdlog::get("citlali_logger")

◆ pfits

template<file_type_enum file_type, typename ext_hdu_t >
std::unique_ptr<CCfits::FITS> fitsIO< file_type, ext_hdu_t >::pfits

The documentation for this class was generated from the following file: