plancklens.filt_util
CMB filtering utilities module.
This module collects some convenience wrapper libraries.
- class filt_util.library_ftl(ivfs, lmax, lfilt_t, lfilt_e, lfilt_b)[source]
Library of a-posteriori re-scaled filtered CMB maps, for separate temperature and polarization filtering
- Parameters:
ivfs – inverse filtering library instance (e.g. one of those in plancklens.filt.filt_simple).
lmax (int) – defines the new healpy alm array shape (identical for temperature and polarization)
lfilt_t (1d array) – filtered temperature alms are rescaled by lfilt_t
lfilt_e (1d array) – filtered E-polarization alms are rescaled by lfilt_e
lfilt_b (1d array) – filtered B-polarization alms are rescaled by lfilt_b
Wraps the input filtering instance (ivfs) methods to keep the same interface.
Note
ftl fel fbl should eventually be taken off to be replaced by fal in all cases
- class filt_util.library_shuffle(ivfs, idxs)[source]
A library of filtered sims with remapped indices.
This is useful for lensing biases calculations, such as \(\hat N^{(0)}_L.\)
- Parameters:
ivfs – inverse-variance filtering library instance.
idxs – index idx of this new instance points to idxs[idx] of the input ivfs instance.
Wraps the input filtering instance (ivfs) methods to keep the same interface.