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

#include <timestream.h>

Inheritance diagram for timestream::TCProc:
Inheritance graph
Collaboration diagram for timestream::TCProc:
Collaboration graph

Public Types

enum  SourceType {
  Gaussian = 0 , NegativeGaussian = 1 , Airy = 2 , NegativeAiry = 3 ,
  Map = 4 , NegativeMap = 5
}
 

Public Member Functions

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

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
 

Member Enumeration Documentation

◆ SourceType

Enumerator
Gaussian 
NegativeGaussian 
Airy 
NegativeAiry 
Map 
NegativeMap 

Member Function Documentation

◆ add_gaussian()

template<TCProc::SourceType source_type, TCDataKind tcdata_t, typename Derived , typename apt_t >
void timestream::TCProc::add_gaussian ( TCData< tcdata_t, Eigen::MatrixXd > &  in,
Eigen::DenseBase< Derived > &  params,
std::string &  pixel_axes,
std::string &  map_grouping,
apt_t &  apt,
double  pixel_size_rad,
Eigen::Index  n_rows,
Eigen::Index  n_cols 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ append_base_to_netcdf()

template<TCDataKind tcdata_t, class calib_t , typename pointing_offset_t >
void timestream::TCProc::append_base_to_netcdf ( netCDF::NcFile &  fo,
TCData< tcdata_t, Eigen::MatrixXd > &  in,
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:

◆ get_grouping()

template<class calib_t >
auto timestream::TCProc::get_grouping ( std::string  grp,
calib_t &  calib,
int  n_dets 
)
Here is the caller graph for this function:

◆ load_mb()

template<class calib_t >
void timestream::TCProc::load_mb ( std::string  filepath,
std::string  noise_filepath,
calib_t &  calib 
)
Here is the call graph for this function:

◆ map_to_tod()

template<TCProc::SourceType source_type, class mb_t , TCDataKind tcdata_t, class calib_t , typename Derived >
void timestream::TCProc::map_to_tod ( mb_t &  mb,
TCData< tcdata_t, Eigen::MatrixXd > &  in,
calib_t &  calib,
Eigen::DenseBase< Derived > &  map_indices,
std::string  pixel_axes,
std::string  map_grouping 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mask_region()

template<TCDataKind tcdata_t, class calib_t >
auto timestream::TCProc::mask_region ( TCData< tcdata_t, Eigen::MatrixXd > &  in,
calib_t &  calib,
std::string  pixel_axes,
std::string  map_grouping,
int  n_pts,
int  n_dets,
int  start_index 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ precompute_pointing()

template<TCDataKind tcdata_t, class calib_t >
void timestream::TCProc::precompute_pointing ( TCData< tcdata_t, Eigen::MatrixXd > &  in,
calib_t &  calib,
std::string  pixel_axes,
std::string  map_grouping 
)
Here is the call graph for this function:

◆ remove_bad_dets()

template<TCDataKind tcdata_t, class calib_t >
auto timestream::TCProc::remove_bad_dets ( TCData< tcdata_t, 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:

◆ remove_uncorrelated()

template<TCDataKind tcdata_t, class calib_t , typename Derived >
auto timestream::TCProc::remove_uncorrelated ( TCData< tcdata_t, Eigen::MatrixXd > &  in,
calib_t &  calib,
std::string  map_grouping 
)

Member Data Documentation

◆ fruit_loops_flux

Eigen::VectorXd timestream::TCProc::fruit_loops_flux

◆ fruit_loops_iters

int timestream::TCProc::fruit_loops_iters = 0

◆ fruit_loops_path

std::string timestream::TCProc::fruit_loops_path

◆ fruit_loops_sig2noise

double timestream::TCProc::fruit_loops_sig2noise = 0

◆ fruit_loops_type

std::string timestream::TCProc::fruit_loops_type

◆ fruit_mode

std::string timestream::TCProc::fruit_mode

◆ init_fruit_loops_path

std::vector<std::string> timestream::TCProc::init_fruit_loops_path

◆ iter_lim

int timestream::TCProc::iter_lim = 0

◆ logger

std::shared_ptr<spdlog::logger> timestream::TCProc::logger = spdlog::get("citlali_logger")

◆ lower_inv_var_factor

double timestream::TCProc::lower_inv_var_factor

◆ mask_radius_arcsec

double timestream::TCProc::mask_radius_arcsec

◆ run_fruit_loops

bool timestream::TCProc::run_fruit_loops

◆ run_tod_output

bool timestream::TCProc::run_tod_output

◆ save_all_iters

bool timestream::TCProc::save_all_iters

◆ tod_mb

mapmaking::MapBuffer timestream::TCProc::tod_mb

◆ toltec_io

engine_utils::toltecIO timestream::TCProc::toltec_io

◆ upper_inv_var_factor

double timestream::TCProc::upper_inv_var_factor

◆ write_evals

bool timestream::TCProc::write_evals

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