CosmoBLENDER
Cosmological Biases to LENsing and Delensing Due to Extragalactic Radiation
CosmoBLENDER computes foreground-induced biases to temperature-based CMB lensing reconstructions, including:
- CMB lensing auto-correlations,
- CMB lensing cross-correlations with galaxies,
- internal B-mode delensing.
The implementation follows Baleato Lizancos et al. 2025.
Installation
Install from PyPI with:
python -m pip install cosmoblender
Optional FFTlog functionality requires pyccl:
python -m pip install "cosmoblender[fftlog]"
Core dependencies
NumPy,SciPy,MatplotlibBasicILCfrom this forkHmvecfrom its galaxy branch for CIB calculationsQuicklens(Python 3 version)astropy
Usage
Tutorial notebooks live in notebooks/ in the GitHub repository.
Start with notebooks/example_pipeline.ipynb, then see:
notebooks/auto_correlations.ipynbnotebooks/cross_correlations.ipynbnotebooks/delensing.ipynb
Attribution
If you use the code, please cite Baleato Lizancos et al. 2025.
Metadata
Release files for cosmoblender 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cosmoblender-1.0.0.tar.gz | 46.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cosmoblender-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 94.1 kB
Release files / cosmoblender-1.0.0.tar.gz
| Download URL | cosmoblender-1.0.0.tar.gz |
|---|---|
| Size | 46.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2682e42528d35360de28c13819fd3b61ec0a9bf4fe1a499e80569e732f688a9f
|
|
BLAKE2b-256 checksum How to use checksums |
8c4569ba691fd2b4e5faeae859b529cb7566ba0ff4a67e93eb318691ac63e787
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|
Release files / cosmoblender-1.0.0-py3-none-any.whl
| Download URL | cosmoblender-1.0.0-py3-none-any.whl |
|---|---|
| Size | 47.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39e984777501b7dad95b3b00da799f9ba78520da9dfbfab3e68f3d6714dffd5e
|
|
BLAKE2b-256 checksum How to use checksums |
0426a53a03de764181c1276ca678d13d48338a418134c40199231038e25bd8e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.9
|