Citlali
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | Friends | List of all members
TimeOrderedDataProc< EngineType > Struct Template Reference

The time ordered data processing struct This wraps around the lali config. More...

#include <todproc.h>

Inheritance diagram for TimeOrderedDataProc< EngineType >:
Inheritance graph
Collaboration diagram for TimeOrderedDataProc< EngineType >:
Collaboration graph

Public Types

using Base = ConfigMapper< TimeOrderedDataProc< EngineType > >
 
using config_t = typename Base::config_t
 
using Engine = EngineType
 
using scanindicies_t = Eigen::MatrixXI
 
using map_extent_t = std::vector< int >
 
using map_coord_t = std::vector< Eigen::VectorXd >
 
using map_count_t = std::size_t
 
using array_indices_t = std::vector< std::tuple< Eigen::Index, Eigen::Index > >
 
using det_indices_t = std::vector< std::tuple< Eigen::Index, Eigen::Index > >
 
using Base = ConfigMapper< TimeOrderedDataProc< EngineType > >
 
using config_t = typename Base::config_t
 
using Engine = EngineType
 
using map_extent_t = std::vector< double >
 
using map_coord_t = std::vector< Eigen::VectorXd >
 
using map_count_t = std::size_t
 
using array_indices_t = std::vector< std::tuple< int, int > >
 
using scanindicies_t = Eigen::MatrixXI
 

Public Member Functions

 TimeOrderedDataProc (config_t config)
 
void create_coadded_map_files ()
 
void get_apt_from_files (const RawObs &rawobs)
 
void get_tone_freqs_from_files (const RawObs &rawobs)
 
void get_adc_snap_from_files (const RawObs &rawobs)
 
void create_output_dir ()
 
void check_inputs (const RawObs &rawobs)
 
void align_timestreams (const RawObs &rawobs)
 
void align_timestreams_2 (const RawObs &rawobs)
 
void interp_pointing ()
 
void calc_map_num ()
 
void calc_omb_size (std::vector< map_extent_t > &, std::vector< map_coord_t > &)
 
void allocate_omb (map_extent_t &, map_coord_t &)
 
void calc_cmb_size (std::vector< map_coord_t > &)
 
void allocate_cmb ()
 
template<class map_buffer_t >
void allocate_nmb (map_buffer_t &)
 
void coadd ()
 
void make_index_file (std::string)
 
Engineengine ()
 
const Engineengine () const
 
 TimeOrderedDataProc (config_t config)
 
auto get_map_extent (const RawObs &rawobs)
 
template<typename Derived >
auto get_map_count (const RawObs &rawobs, Eigen::DenseBase< Derived > &apt_table)
 
auto get_scanindicies (const RawObs &rawobs)
 
void setup_coadd_map_buffer (const map_extent_t &map_extent, const map_count_t &map_count)
 
auto setup_map_buffer (const map_extent_t &map_extent, const map_coord_t &map_coord, const map_count_t &map_count)
 
Engineengine ()
 
const Engineengine () const
 

Static Public Member Functions

static auto check_config (const config_t &config) -> std::optional< std::string >
 
static auto check_config (const config_t &config) -> std::optional< std::string >
 

Public Attributes

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

Private Attributes

Engine m_engine
 

Friends

template<typename OStream >
OStream & operator<< (OStream &os, const TimeOrderedDataProc &todproc)
 
template<typename OStream >
OStream & operator<< (OStream &os, const TimeOrderedDataProc &todproc)
 

Detailed Description

template<class EngineType>
struct TimeOrderedDataProc< EngineType >

The time ordered data processing struct This wraps around the lali config.

Member Typedef Documentation

◆ array_indices_t [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::array_indices_t = std::vector<std::tuple<Eigen::Index, Eigen::Index> >

◆ array_indices_t [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::array_indices_t = std::vector<std::tuple<int, int> >

◆ Base [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::Base = ConfigMapper<TimeOrderedDataProc<EngineType> >

◆ Base [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::Base = ConfigMapper<TimeOrderedDataProc<EngineType> >

◆ config_t [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::config_t = typename Base::config_t

◆ config_t [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::config_t = typename Base::config_t

◆ det_indices_t

template<class EngineType >
using TimeOrderedDataProc< EngineType >::det_indices_t = std::vector<std::tuple<Eigen::Index, Eigen::Index> >

◆ Engine [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::Engine = EngineType

◆ Engine [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::Engine = EngineType

◆ map_coord_t [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::map_coord_t = std::vector<Eigen::VectorXd>

◆ map_coord_t [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::map_coord_t = std::vector<Eigen::VectorXd>

◆ map_count_t [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::map_count_t = std::size_t

◆ map_count_t [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::map_count_t = std::size_t

◆ map_extent_t [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::map_extent_t = std::vector<int>

◆ map_extent_t [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::map_extent_t = std::vector<double>

◆ scanindicies_t [1/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::scanindicies_t = Eigen::MatrixXI

◆ scanindicies_t [2/2]

template<class EngineType >
using TimeOrderedDataProc< EngineType >::scanindicies_t = Eigen::MatrixXI

Constructor & Destructor Documentation

◆ TimeOrderedDataProc() [1/2]

template<class EngineType >
TimeOrderedDataProc< EngineType >::TimeOrderedDataProc ( config_t  config)
inline

◆ TimeOrderedDataProc() [2/2]

template<class EngineType >
TimeOrderedDataProc< EngineType >::TimeOrderedDataProc ( config_t  config)
inline

Member Function Documentation

◆ align_timestreams()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::align_timestreams ( const RawObs rawobs)
Here is the call graph for this function:

◆ align_timestreams_2()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::align_timestreams_2 ( const RawObs rawobs)

◆ allocate_cmb()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::allocate_cmb ( )

◆ allocate_nmb()

template<class EngineType >
template<class map_buffer_t >
void TimeOrderedDataProc< EngineType >::allocate_nmb ( map_buffer_t &  nmb)

◆ allocate_omb()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::allocate_omb ( map_extent_t map_extent,
map_coord_t map_coord 
)

◆ calc_cmb_size()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::calc_cmb_size ( std::vector< map_coord_t > &  map_coords)

◆ calc_map_num()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::calc_map_num ( )

◆ calc_omb_size()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::calc_omb_size ( std::vector< map_extent_t > &  map_extents,
std::vector< map_coord_t > &  map_coords 
)
Here is the call graph for this function:

◆ check_config() [1/2]

template<class EngineType >
static auto TimeOrderedDataProc< EngineType >::check_config ( const config_t config) -> std::optional<std::string>
inlinestatic

◆ check_config() [2/2]

template<class EngineType >
static auto TimeOrderedDataProc< EngineType >::check_config ( const config_t config) -> std::optional<std::string>
inlinestatic

◆ check_inputs()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::check_inputs ( const RawObs rawobs)
Here is the call graph for this function:

◆ coadd()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::coadd ( )

◆ create_coadded_map_files()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::create_coadded_map_files ( )

◆ create_output_dir()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::create_output_dir ( )

◆ engine() [1/4]

template<class EngineType >
Engine & TimeOrderedDataProc< EngineType >::engine ( )
inline
Here is the caller graph for this function:

◆ engine() [2/4]

template<class EngineType >
Engine & TimeOrderedDataProc< EngineType >::engine ( )
inline

◆ engine() [3/4]

template<class EngineType >
const Engine & TimeOrderedDataProc< EngineType >::engine ( ) const
inline

◆ engine() [4/4]

template<class EngineType >
const Engine & TimeOrderedDataProc< EngineType >::engine ( ) const
inline

◆ get_adc_snap_from_files()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::get_adc_snap_from_files ( const RawObs rawobs)
Here is the call graph for this function:

◆ get_apt_from_files()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::get_apt_from_files ( const RawObs rawobs)
Here is the call graph for this function:

◆ get_map_count()

template<class EngineType >
template<typename Derived >
auto TimeOrderedDataProc< EngineType >::get_map_count ( const RawObs rawobs,
Eigen::DenseBase< Derived > &  apt_table 
)
inline
Here is the call graph for this function:

◆ get_map_extent()

template<class EngineType >
auto TimeOrderedDataProc< EngineType >::get_map_extent ( const RawObs rawobs)
inline
Here is the call graph for this function:

◆ get_scanindicies()

template<class EngineType >
auto TimeOrderedDataProc< EngineType >::get_scanindicies ( const RawObs rawobs)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_tone_freqs_from_files()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::get_tone_freqs_from_files ( const RawObs rawobs)
Here is the call graph for this function:

◆ interp_pointing()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::interp_pointing ( )
Here is the call graph for this function:

◆ make_index_file()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::make_index_file ( std::string  filepath)
Here is the call graph for this function:

◆ setup_coadd_map_buffer()

template<class EngineType >
void TimeOrderedDataProc< EngineType >::setup_coadd_map_buffer ( const map_extent_t map_extent,
const map_count_t map_count 
)
inline

◆ setup_map_buffer()

template<class EngineType >
auto TimeOrderedDataProc< EngineType >::setup_map_buffer ( const map_extent_t map_extent,
const map_coord_t map_coord,
const map_count_t map_count 
)
inline
Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ operator<< [1/2]

template<class EngineType >
template<typename OStream >
OStream & operator<< ( OStream &  os,
const TimeOrderedDataProc< EngineType > &  todproc 
)
friend

◆ operator<< [2/2]

template<class EngineType >
template<typename OStream >
OStream & operator<< ( OStream &  os,
const TimeOrderedDataProc< EngineType > &  todproc 
)
friend

Member Data Documentation

◆ logger

template<class EngineType >
std::shared_ptr<spdlog::logger> TimeOrderedDataProc< EngineType >::logger = spdlog::get("citlali_logger")

◆ m_engine

template<class EngineType >
Engine TimeOrderedDataProc< EngineType >::m_engine
private

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