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

#include <rtcproc.h>

Inheritance diagram for timestream::RTCProc:
Inheritance graph
Collaboration diagram for timestream::RTCProc:
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 > > &)
 
template<class calib_t >
auto calc_map_indices (calib_t &, std::string)
 
template<typename calib_t , typename telescope_t >
auto run (TCData< TCDataKind::RTC, Eigen::MatrixXd > &, TCData< TCDataKind::PTC, Eigen::MatrixXd > &, calib_t &, telescope_t &, double, std::string)
 
template<typename calib_t >
auto remove_nearby_tones (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, calib_t &, std::string)
 
template<typename apt_t >
void remove_flagged_dets (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, apt_t &)
 
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_timestream
 
bool run_pointing
 
bool run_polarization
 
bool run_kernel
 
bool run_despike
 
bool run_tod_filter
 
bool run_downsample
 
bool run_calibrate
 
bool run_extinction
 
timestream::Polarization polarization
 
timestream::Kernel kernel
 
timestream::Despiker despiker
 
timestream::Filter filter
 
timestream::Downsampler downsampler
 
timestream::Calibration calibration
 
double delta_f_min_Hz
 
- 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::RTCProc::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_map_indices()

template<class calib_t >
auto timestream::RTCProc::calc_map_indices ( calib_t &  calib,
std::string  map_grouping 
)
Here is the caller graph for this function:

◆ get_config()

template<typename config_t >
void timestream::RTCProc::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:

◆ remove_flagged_dets()

template<typename apt_t >
void timestream::RTCProc::remove_flagged_dets ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in,
apt_t &  apt 
)
Here is the caller graph for this function:

◆ remove_nearby_tones()

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

◆ run()

template<class calib_t , typename telescope_t >
auto timestream::RTCProc::run ( TCData< TCDataKind::RTC, Eigen::MatrixXd > &  in,
TCData< TCDataKind::PTC, Eigen::MatrixXd > &  out,
calib_t &  calib,
telescope_t &  telescope,
double  pixel_size_rad,
std::string  map_grouping 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ calibration

timestream::Calibration timestream::RTCProc::calibration

◆ delta_f_min_Hz

double timestream::RTCProc::delta_f_min_Hz

◆ despiker

timestream::Despiker timestream::RTCProc::despiker

◆ downsampler

timestream::Downsampler timestream::RTCProc::downsampler

◆ filter

timestream::Filter timestream::RTCProc::filter

◆ kernel

timestream::Kernel timestream::RTCProc::kernel

◆ polarization

timestream::Polarization timestream::RTCProc::polarization

◆ run_calibrate

bool timestream::RTCProc::run_calibrate

◆ run_despike

bool timestream::RTCProc::run_despike

◆ run_downsample

bool timestream::RTCProc::run_downsample

◆ run_extinction

bool timestream::RTCProc::run_extinction

◆ run_kernel

bool timestream::RTCProc::run_kernel

◆ run_pointing

bool timestream::RTCProc::run_pointing

◆ run_polarization

bool timestream::RTCProc::run_polarization

◆ run_timestream

bool timestream::RTCProc::run_timestream

◆ run_tod_filter

bool timestream::RTCProc::run_tod_filter

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