Cosmological Biases to LENsing and Delensing Due to Extragalactic Radiation
CosmoBLENDER is a python code that computes biases to CMB lensing auto- and cross-correlations, as well as internal delensing. It follows Baleato Lizancos et al. 2025.
NumPy,SciPy,MatplotlibBasicILCfrom this forkHmvecfrom its galaxy branch for CIB calculationsQuicklens(Python 3 version)astropypyccl(optional, needed for FFTlog-based calculation; we recommend using the default Gaussian quadratures instead).
First, clone the repository
git clone https://github.com/abaleato/CosmoBLENDER.git
and from within it run
python -m pip install -e .
See the notebooks under the examples/ directory -- examples/example_pipeline.ipynb is a great place to start.
If you use the code, please cite Baleato Lizancos et al. 2025.