Citlali
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
engine::Calib Class Reference

#include <calib.h>

Collaboration diagram for engine::Calib:
Collaboration graph

Public Member Functions

void setup ()
 
void get_apt (const std::string &, std::vector< std::string > &, std::vector< std::string > &)
 
void get_hwpr (const std::string &, bool)
 
void calc_flux_calibration (std::string, double)
 

Public Attributes

std::shared_ptr< spdlog::logger > logger = spdlog::get("citlali_logger")
 
std::string apt_filepath
 
std::map< std::string, Eigen::VectorXd > apt
 
Eigen::VectorXd hwpr_angle
 
Eigen::VectorXd hwpr_recvt
 
Eigen::MatrixXd hwpr_ts
 
Eigen::VectorXI fg
 
std::string ignore_hwpr
 
double hwpr_fpga_freq
 
YAML::Node apt_meta
 
bool run_hwpr
 
Eigen::VectorXI nws
 
Eigen::VectorXI arrays
 
Eigen::Index n_dets
 
Eigen::Index n_nws
 
Eigen::Index n_arrays
 
std::map< Eigen::Index, std::tuple< Eigen::Index, Eigen::Index > > nw_limits
 
std::map< Eigen::Index, std::tuple< Eigen::Index, Eigen::Index > > array_limits
 
std::map< Eigen::Index, std::tuple< double, double > > nw_fwhms
 
std::map< Eigen::Index, std::tuple< double, double > > array_fwhms
 
std::map< Eigen::Index, double > nw_pas
 
std::map< Eigen::Index, double > array_pas
 
std::map< Eigen::Index, double > nw_beam_areas
 
std::map< Eigen::Index, double > array_beam_areas
 
Eigen::VectorXd flux_conversion_factor
 
std::map< std::string, double > mean_flux_conversion_factor
 
std::map< Eigen::Index, std::string > array_name_map
 
std::vector< std::string > apt_header_keys
 
std::map< std::string, std::string > apt_header_units
 
std::map< std::string, std::string > apt_header_description
 

Member Function Documentation

◆ calc_flux_calibration()

void engine::Calib::calc_flux_calibration ( std::string  units,
double  pixel_size_rad 
)
Here is the call graph for this function:

◆ get_apt()

void engine::Calib::get_apt ( const std::string &  filepath,
std::vector< std::string > &  raw_filenames,
std::vector< std::string > &  interfaces 
)
Here is the call graph for this function:

◆ get_hwpr()

void engine::Calib::get_hwpr ( const std::string &  filepath,
bool  sim_obs 
)

◆ setup()

void engine::Calib::setup ( )
Here is the caller graph for this function:

Member Data Documentation

◆ apt

std::map<std::string, Eigen::VectorXd> engine::Calib::apt

◆ apt_filepath

std::string engine::Calib::apt_filepath

◆ apt_header_description

std::map<std::string,std::string> engine::Calib::apt_header_description

◆ apt_header_keys

std::vector<std::string> engine::Calib::apt_header_keys

◆ apt_header_units

std::map<std::string,std::string> engine::Calib::apt_header_units

◆ apt_meta

YAML::Node engine::Calib::apt_meta

◆ array_beam_areas

std::map<Eigen::Index, double> engine::Calib::array_beam_areas

◆ array_fwhms

std::map<Eigen::Index, std::tuple<double, double> > engine::Calib::array_fwhms

◆ array_limits

std::map<Eigen::Index, std::tuple<Eigen::Index, Eigen::Index> > engine::Calib::array_limits

◆ array_name_map

std::map<Eigen::Index, std::string> engine::Calib::array_name_map
Initial value:
= {
{0,"a1100"},
{1,"a1400"},
{2,"a2000"}
}

◆ array_pas

std::map<Eigen::Index, double> engine::Calib::array_pas

◆ arrays

Eigen::VectorXI engine::Calib::arrays

◆ fg

Eigen::VectorXI engine::Calib::fg

◆ flux_conversion_factor

Eigen::VectorXd engine::Calib::flux_conversion_factor

◆ hwpr_angle

Eigen::VectorXd engine::Calib::hwpr_angle

◆ hwpr_fpga_freq

double engine::Calib::hwpr_fpga_freq

◆ hwpr_recvt

Eigen::VectorXd engine::Calib::hwpr_recvt

◆ hwpr_ts

Eigen::MatrixXd engine::Calib::hwpr_ts

◆ ignore_hwpr

std::string engine::Calib::ignore_hwpr

◆ logger

std::shared_ptr<spdlog::logger> engine::Calib::logger = spdlog::get("citlali_logger")

◆ mean_flux_conversion_factor

std::map<std::string, double> engine::Calib::mean_flux_conversion_factor

◆ n_arrays

Eigen::Index engine::Calib::n_arrays

◆ n_dets

Eigen::Index engine::Calib::n_dets

◆ n_nws

Eigen::Index engine::Calib::n_nws

◆ nw_beam_areas

std::map<Eigen::Index, double> engine::Calib::nw_beam_areas

◆ nw_fwhms

std::map<Eigen::Index, std::tuple<double, double> > engine::Calib::nw_fwhms

◆ nw_limits

std::map<Eigen::Index, std::tuple<Eigen::Index, Eigen::Index> > engine::Calib::nw_limits

◆ nw_pas

std::map<Eigen::Index, double> engine::Calib::nw_pas

◆ nws

Eigen::VectorXI engine::Calib::nws

◆ run_hwpr

bool engine::Calib::run_hwpr

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