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

#include <ptcproc.h>

Inheritance diagram for timestream::PTCProc:
Inheritance graph
Collaboration diagram for timestream::PTCProc:
Collaboration graph

Public Member Functions

template<typename config_t >
void get_config (config_t &, std::vector< std::vector< std::string > > &, std::vector< std::vector< std::string > > &)
 
void subtract_mean (TCData< TCDataKind::PTC, Eigen::MatrixXd > &)
 
template<class calib_type >
void run (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, TCData< TCDataKind::PTC, Eigen::MatrixXd > &, calib_type &, std::string, std::string)
 
template<typename apt_type , class tel_type >
void calc_weights (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, apt_type &, tel_type &)
 
template<typename calib_t >
auto reset_weights (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, calib_t &, std::string)
 
template<typename calib_t , typename pointing_offset_t >
void append_to_netcdf (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, std::string, std::string, std::string &, pointing_offset_t &, calib_t &)
 
- Public Member Functions inherited from timestream::TCProc
template<class calib_t >
void load_mb (std::string, std::string, calib_t &)
 
template<class calib_t >
auto get_grouping (std::string, calib_t &, int)
 
template<TCDataKind tcdata_t, class calib_t >
void precompute_pointing (TCData< tcdata_t, Eigen::MatrixXd > &, calib_t &, std::string, std::string)
 
template<TCProc::SourceType source_type, class mb_t , TCDataKind tcdata_t, class calib_t , typename Derived >
void map_to_tod (mb_t &, TCData< tcdata_t, Eigen::MatrixXd > &, calib_t &, Eigen::DenseBase< Derived > &, std::string, std::string)
 
template<TCDataKind tcdata_t, class calib_t >
auto remove_bad_dets (TCData< tcdata_t, Eigen::MatrixXd > &, calib_t &, std::string)
 
template<TCDataKind tcdata_t, class calib_t , typename Derived >
auto remove_uncorrelated (TCData< tcdata_t, Eigen::MatrixXd > &, calib_t &, std::string)
 
template<SourceType source_type, TCDataKind tcdata_t, typename Derived , typename apt_t >
void add_gaussian (TCData< tcdata_t, Eigen::MatrixXd > &, Eigen::DenseBase< Derived > &, std::string &, std::string &, apt_t &, double, Eigen::Index, Eigen::Index)
 
template<TCDataKind tcdata_t, class calib_t >
auto mask_region (TCData< tcdata_t, Eigen::MatrixXd > &, calib_t &, std::string, std::string, int, int, int)
 
template<TCDataKind tcdata_t, class calib_t , typename pointing_offset_t >
void append_base_to_netcdf (netCDF::NcFile &, TCData< tcdata_t, Eigen::MatrixXd > &, std::string, std::string &, pointing_offset_t &, calib_t &)
 

Public Attributes

bool run_clean
 
double med_weight_factor
 
double lower_weight_factor
 
double upper_weight_factor
 
std::string weighting_type
 
timestream::Cleaner cleaner
 
- Public Attributes inherited from timestream::TCProc
std::shared_ptr< spdlog::logger > logger = spdlog::get("citlali_logger")
 
engine_utils::toltecIO toltec_io
 
bool run_tod_output
 
bool write_evals
 
bool run_fruit_loops
 
std::string fruit_loops_path
 
std::vector< std::string > init_fruit_loops_path
 
std::string fruit_loops_type
 
std::string fruit_mode
 
int fruit_loops_iters = 0
 
double fruit_loops_sig2noise = 0
 
Eigen::VectorXd fruit_loops_flux
 
bool save_all_iters
 
mapmaking::MapBuffer tod_mb
 
int iter_lim = 0
 
double lower_inv_var_factor
 
double upper_inv_var_factor
 
double mask_radius_arcsec
 

Additional Inherited Members

- Public Types inherited from timestream::TCProc
enum  SourceType {
  Gaussian = 0 , NegativeGaussian = 1 , Airy = 2 , NegativeAiry = 3 ,
  Map = 4 , NegativeMap = 5
}
 

Member Function Documentation

◆ append_to_netcdf()

template<typename calib_t , typename pointing_offset_t >
void timestream::PTCProc::append_to_netcdf ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in,
std::string  filepath,
std::string  map_grouping,
std::string &  pixel_axes,
pointing_offset_t &  pointing_offsets_arcsec,
calib_t &  calib 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ calc_weights()

template<typename apt_type , class tel_type >
void timestream::PTCProc::calc_weights ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in,
apt_type &  apt,
tel_type &  telescope 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_config()

template<typename config_t >
void timestream::PTCProc::get_config ( config_t &  config,
std::vector< std::vector< std::string > > &  missing_keys,
std::vector< std::vector< std::string > > &  invalid_keys 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reset_weights()

template<typename calib_t >
auto timestream::PTCProc::reset_weights ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in,
calib_t &  calib,
std::string  map_grouping 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

template<class calib_type >
void timestream::PTCProc::run ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in,
TCData< TCDataKind::PTC, Eigen::MatrixXd > &  out,
calib_type &  calib,
std::string  pixel_axes,
std::string  map_grouping 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ subtract_mean()

void timestream::PTCProc::subtract_mean ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in)
Here is the caller graph for this function:

Member Data Documentation

◆ cleaner

timestream::Cleaner timestream::PTCProc::cleaner

◆ lower_weight_factor

double timestream::PTCProc::lower_weight_factor

◆ med_weight_factor

double timestream::PTCProc::med_weight_factor

◆ run_clean

bool timestream::PTCProc::run_clean

◆ upper_weight_factor

double timestream::PTCProc::upper_weight_factor

◆ weighting_type

std::string timestream::PTCProc::weighting_type

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