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

#include <jinc_mm.h>

Collaboration diagram for mapmaking::JincMapmaker:
Collaboration graph

Public Member Functions

auto jinc_func (double, double, double, double, double, double)
 
void allocate_jinc_matrix (double)
 
void calculate_jinc_splines ()
 
template<class map_buffer_t >
void allocate_pointing (map_buffer_t &, double, double, double, Eigen::Index, int, int)
 
template<class map_buffer_t , typename Derived , typename apt_t >
void populate_maps_jinc (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, map_buffer_t &, map_buffer_t &, Eigen::DenseBase< Derived > &, std::string &, apt_t &, double, bool, bool)
 
template<class map_buffer_t , typename Derived , typename apt_t >
void populate_maps_jinc_parallel (TCData< TCDataKind::PTC, Eigen::MatrixXd > &, map_buffer_t &, map_buffer_t &, Eigen::DenseBase< Derived > &, std::string &, apt_t &, double, bool, bool)
 

Public Attributes

std::shared_ptr< spdlog::logger > logger = spdlog::get("citlali_logger")
 
std::unique_ptr< std::mutex > jinc_mutex = std::make_unique<std::mutex>()
 
std::map< int, double > install_ang
 
std::map< int, double > fgs
 
bool run_polarization
 
std::string parallel_policy
 
std::string mode = "matrix"
 
std::map< Eigen::Index, double > l_d
 
double r_max
 
int n_pts_splines = 1000
 
std::map< Eigen::Index, Eigen::VectorXd > shape_params
 
std::map< Eigen::Index, Eigen::MatrixXd > jinc_weights_mat
 
std::map< Eigen::Index, engine_utils::SplineFunctionjinc_splines
 

Member Function Documentation

◆ allocate_jinc_matrix()

void mapmaking::JincMapmaker::allocate_jinc_matrix ( double  pixel_size_rad)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ allocate_pointing()

template<class map_buffer_t >
void mapmaking::JincMapmaker::allocate_pointing ( map_buffer_t &  mb,
double  weight,
double  cos_2angle,
double  sin_2angle,
Eigen::Index  map_index,
int  ir,
int  ic 
)

◆ calculate_jinc_splines()

void mapmaking::JincMapmaker::calculate_jinc_splines ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ jinc_func()

auto mapmaking::JincMapmaker::jinc_func ( double  r,
double  a,
double  b,
double  c,
double  r_max,
double  l_d 
)
Here is the caller graph for this function:

◆ populate_maps_jinc()

template<class map_buffer_t , typename Derived , typename apt_t >
void mapmaking::JincMapmaker::populate_maps_jinc ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in,
map_buffer_t &  omb,
map_buffer_t &  cmb,
Eigen::DenseBase< Derived > &  map_indices,
std::string &  pixel_axes,
apt_t &  apt,
double  d_fsmp,
bool  run_omb,
bool  run_noise 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populate_maps_jinc_parallel()

template<class map_buffer_t , typename Derived , typename apt_t >
void mapmaking::JincMapmaker::populate_maps_jinc_parallel ( TCData< TCDataKind::PTC, Eigen::MatrixXd > &  in,
map_buffer_t &  omb,
map_buffer_t &  cmb,
Eigen::DenseBase< Derived > &  map_indices,
std::string &  pixel_axes,
apt_t &  apt,
double  d_fsmp,
bool  run_omb,
bool  run_noise 
)
Here is the caller graph for this function:

Member Data Documentation

◆ fgs

std::map<int, double> mapmaking::JincMapmaker::fgs
Initial value:
= {
{-1,-1},
{0,0},
{1,pi/4},
{2,pi/2},
{3,3*pi/4}
}
constexpr auto pi
Definition constants.h:6

◆ install_ang

std::map<int, double> mapmaking::JincMapmaker::install_ang
Initial value:
= {
{-1,-1},
{0,pi/2},
{1,-pi/2},
{2,-pi/2},
}

◆ jinc_mutex

std::unique_ptr<std::mutex> mapmaking::JincMapmaker::jinc_mutex = std::make_unique<std::mutex>()

◆ jinc_splines

std::map<Eigen::Index, engine_utils::SplineFunction> mapmaking::JincMapmaker::jinc_splines

◆ jinc_weights_mat

std::map<Eigen::Index,Eigen::MatrixXd> mapmaking::JincMapmaker::jinc_weights_mat

◆ l_d

std::map<Eigen::Index,double> mapmaking::JincMapmaker::l_d

◆ logger

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

◆ mode

std::string mapmaking::JincMapmaker::mode = "matrix"

◆ n_pts_splines

int mapmaking::JincMapmaker::n_pts_splines = 1000

◆ parallel_policy

std::string mapmaking::JincMapmaker::parallel_policy

◆ r_max

double mapmaking::JincMapmaker::r_max

◆ run_polarization

bool mapmaking::JincMapmaker::run_polarization

◆ shape_params

std::map<Eigen::Index,Eigen::VectorXd> mapmaking::JincMapmaker::shape_params

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