bin_llcl bins the input power spectrum (as is, or after flattening by a factor) according to an arbitrary binning scheme defined by the user. Different weighting scheme (uniform or inverse variance) can be applied inside the bins.
init_healpix |
fits2cl, cl, !healpix.directory+'/test/cl.fits', multipoles=l |
fl = l*(l+1) / (2. * !pi) |
bin_llcl, fl*cl[*,0], 10, lb, bbcb, /uniform |
plot, l, fl*cl[*,0] |
oplot, lb, bbcb, psym = 4 |
Read a power spectrum, bin it with a binsize of 10 and a uniform weighting, and overplot the input spectrum and its binned version.
Version 3.83, 2024-11-13