Healpix C++
3.83
|
Go to the source code of this file.
Functions | |
template<typename T > | |
void | apply_fullweights (Healpix_Map< T > &map, const std::vector< double > &wgt) |
std::vector< double > | get_fullweights (int nside, int lmax, double epsilon, int itmax, double &epsilon_out) |
std::vector< double > | get_ringweights (int nside, int lmax, double epsilon, int itmax, double &epsilon_out) |
Copyright (C) 2016-2019 Max-Planck-Society
Definition in file weight_utils.h.
void apply_fullweights | ( | Healpix_Map< T > & | map, |
const std::vector< double > & | wgt | ||
) |
Applies the vector wgt containing compressed full weights to map.
std::vector<double> get_fullweights | ( | int | nside, |
int | lmax, | ||
double | epsilon, | ||
int | itmax, | ||
double & | epsilon_out | ||
) |
Computes full weights for a map of the given nside at a maximum multipole lmax. The solution is obtained via CGNE iteration, which stops once the norm of the residual falls below epsilon times the norm of the initial residual, or once itmax iterations have been performed.
Definition at line 340 of file weight_utils.cc.
std::vector<double> get_ringweights | ( | int | nside, |
int | lmax, | ||
double | epsilon, | ||
int | itmax, | ||
double & | epsilon_out | ||
) |
Computes ring weights for a map of the given nside at a maximum multipole lmax. The solution is obtained via CGNE iteration, which stops once the norm of the residual falls below epsilon times the norm of the initial residual, or once itmax iterations have been performed.
2*nside
containing the ring weights. Definition at line 380 of file weight_utils.cc.