Citlali
|
#include <wiener_filter.h>
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 MB > | |
void | make_gaussian_template (MB &mb, const double) |
template<class MB > | |
void | make_airy_template (MB &mb, const double) |
template<class MB , class CD > | |
void | make_kernel_template (MB &mb, const int, CD &) |
template<class MB , class CD > | |
void | make_template (MB &, CD &c, const double, const int) |
template<class MB > | |
void | calc_rr (MB &, const int) |
template<class MB > | |
void | calc_vvq (MB &, const int) |
void | calc_numerator () |
void | calc_denominator () |
template<class MB > | |
void | run_filter (MB &, const int) |
void | run_convolve () |
void | destripe (double) |
template<class MB > | |
void | filter_maps (MB &, const int) |
template<class MB > | |
void | filter_noise (MB &mb, const int, const int) |
template<class MB > | |
void | make_gaussian_template (MB &mb, const double) |
template<class MB > | |
void | make_airy_template (MB &mb, const double) |
template<class MB , class CD > | |
void | make_kernel_template (MB &mb, const int, CD &) |
template<class MB , class CD > | |
void | make_template (MB &mb, CD &calib_data, const double gaussian_template_fwhm_rad, const int map_index) |
template<class MB > | |
void | calc_rr (MB &mb, const int map_index) |
template<class MB > | |
void | calc_vvq (MB &, const int) |
void | calc_numerator () |
void | calc_denominator () |
template<class MB > | |
void | run_filter (MB &mb, const int map_index) |
template<class MB > | |
void | filter_maps (MB &mb, const int map_index) |
template<class MB > | |
void | filter_noise (MB &mb, const int map_index, const int noise_num) |
Public Attributes | |
std::shared_ptr< spdlog::logger > | logger = spdlog::get("citlali_logger") |
std::string | template_type |
std::string | filter_type |
bool | normalize_error |
bool | uniform_weight |
bool | run_lowpass |
int | n_loops |
int | max_loops = 500 |
double | denom_limit = 1.e-4 |
double | psd_lim = 1.e-4 |
double | init_fwhm |
std::map< std::string, double > | template_fwhm_rad |
int | n_rows |
int | n_cols |
double | diff_rows |
double | diff_cols |
std::string | parallel_policy |
Eigen::MatrixXd | rr |
Eigen::MatrixXd | vvq |
Eigen::MatrixXd | denom |
Eigen::MatrixXd | nume |
Eigen::MatrixXd | filtered_map |
Eigen::MatrixXd | filter_template |
engine_utils::mapFitter | map_fitter |
bool | run_kernel |
std::map< std::string, double > | gaussian_template_fwhm_rad |
void mapmaking::WienerFilter::calc_denominator | ( | ) |
void mapmaking::WienerFilter::calc_denominator | ( | ) |
void mapmaking::WienerFilter::calc_numerator | ( | ) |
void mapmaking::WienerFilter::calc_numerator | ( | ) |
void mapmaking::WienerFilter::calc_rr | ( | MB & | mb, |
const int | map_index | ||
) |
|
inline |
void mapmaking::WienerFilter::calc_vvq | ( | MB & | mb, |
const int | map_index | ||
) |
void mapmaking::WienerFilter::calc_vvq | ( | MB & | , |
const int | |||
) |
void mapmaking::WienerFilter::destripe | ( | double | threshold_factor | ) |
void mapmaking::WienerFilter::filter_maps | ( | MB & | mb, |
const int | map_index | ||
) |
|
inline |
|
inline |
void mapmaking::WienerFilter::filter_noise | ( | MB & | mb, |
const int | map_index, | ||
const int | noise_num | ||
) |
void mapmaking::WienerFilter::get_config | ( | config_t & | config, |
std::vector< std::vector< std::string > > & | missing_keys, | ||
std::vector< std::vector< std::string > > & | invalid_keys | ||
) |
void mapmaking::WienerFilter::make_airy_template | ( | MB & | mb, |
const double | template_fwhm_rad | ||
) |
void mapmaking::WienerFilter::make_airy_template | ( | MB & | mb, |
const double | |||
) |
void mapmaking::WienerFilter::make_gaussian_template | ( | MB & | mb, |
const double | template_fwhm_rad | ||
) |
void mapmaking::WienerFilter::make_gaussian_template | ( | MB & | mb, |
const double | |||
) |
void mapmaking::WienerFilter::make_kernel_template | ( | MB & | mb, |
const int | map_index, | ||
CD & | calib_data | ||
) |
void mapmaking::WienerFilter::make_kernel_template | ( | MB & | mb, |
const int | , | ||
CD & | |||
) |
void mapmaking::WienerFilter::make_template | ( | MB & | mb, |
CD & | c, | ||
const double | template_fwhm_rad, | ||
const int | map_index | ||
) |
|
inline |
void mapmaking::WienerFilter::run_convolve | ( | ) |
void mapmaking::WienerFilter::run_filter | ( | MB & | mb, |
const int | map_index | ||
) |
|
inline |
Eigen::MatrixXd mapmaking::WienerFilter::denom |
double mapmaking::WienerFilter::denom_limit = 1.e-4 |
double mapmaking::WienerFilter::diff_cols |
double mapmaking::WienerFilter::diff_rows |
Eigen::MatrixXd mapmaking::WienerFilter::filter_template |
std::string mapmaking::WienerFilter::filter_type |
Eigen::MatrixXd mapmaking::WienerFilter::filtered_map |
std::map<std::string, double> mapmaking::WienerFilter::gaussian_template_fwhm_rad |
double mapmaking::WienerFilter::init_fwhm |
std::shared_ptr<spdlog::logger> mapmaking::WienerFilter::logger = spdlog::get("citlali_logger") |
engine_utils::mapFitter mapmaking::WienerFilter::map_fitter |
int mapmaking::WienerFilter::max_loops = 500 |
int mapmaking::WienerFilter::n_cols |
int mapmaking::WienerFilter::n_loops |
int mapmaking::WienerFilter::n_rows |
bool mapmaking::WienerFilter::normalize_error |
Eigen::MatrixXd mapmaking::WienerFilter::nume |
std::string mapmaking::WienerFilter::parallel_policy |
double mapmaking::WienerFilter::psd_lim = 1.e-4 |
Eigen::MatrixXd mapmaking::WienerFilter::rr |
bool mapmaking::WienerFilter::run_kernel |
bool mapmaking::WienerFilter::run_lowpass |
std::map<std::string, double> mapmaking::WienerFilter::template_fwhm_rad |
std::string mapmaking::WienerFilter::template_type |
bool mapmaking::WienerFilter::uniform_weight |
Eigen::MatrixXd mapmaking::WienerFilter::vvq |