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

#include <naive_mm.h>

Collaboration diagram for mapmaking::NaiveMapmaker:
Collaboration graph

Public Member Functions

template<typename Derived >
void add_sparse_to_dense (std::vector< Eigen::Triplet< double > > &triplets, Eigen::DenseBase< Derived > &dense_matrix)
 
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_naive (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_naive_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 > naive_mutex = std::make_unique<std::mutex>()
 
std::map< int, double > install_ang
 
std::map< int, double > fgs
 
bool run_polarization
 

Member Function Documentation

◆ add_sparse_to_dense()

template<typename Derived >
void mapmaking::NaiveMapmaker::add_sparse_to_dense ( std::vector< Eigen::Triplet< double > > &  triplets,
Eigen::DenseBase< Derived > &  dense_matrix 
)
inline
Here is the caller graph for this function:

◆ allocate_pointing()

template<class map_buffer_t >
void mapmaking::NaiveMapmaker::allocate_pointing ( map_buffer_t &  mb,
double  weight,
double  cos_2angle,
double  sin_2angle,
Eigen::Index  map_index,
int  ir,
int  ic 
)
Here is the caller graph for this function:

◆ populate_maps_naive()

template<class map_buffer_t , typename Derived , typename apt_t >
void mapmaking::NaiveMapmaker::populate_maps_naive ( 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_naive_parallel()

template<class map_buffer_t , typename Derived , typename apt_t >
void mapmaking::NaiveMapmaker::populate_maps_naive_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 call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fgs

std::map<int, double> mapmaking::NaiveMapmaker::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::NaiveMapmaker::install_ang
Initial value:
= {
{-1,-1},
{0,pi/2},
{1,-pi/2},
{2,-pi/2},
}

◆ logger

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

◆ naive_mutex

std::unique_ptr<std::mutex> mapmaking::NaiveMapmaker::naive_mutex = std::make_unique<std::mutex>()

◆ run_polarization

bool mapmaking::NaiveMapmaker::run_polarization

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