The Dataset Viewer has been disabled on this dataset.

CMBLensing.py data

This dataset holds the large data products behind CMBLensing.py, a JAX port of the Julia package CMBLensing.jl. CMBLensing.py simulates gravitationally lensed CMB temperature and polarization maps on a flat sky, recovers the unlensed field and the lensing potential from a lensed data map (map_joint), and jointly samples the LCDM parameters from that map (sample_joint).

Documentation for the package: https://zaneblooddev.com/CMBLensing.py/

It replaces zaneblood1/cmb_lensing_data, which is no longer public (2026-11-30). The CAMB grid is the same file; the runs here are the November 2026 production runs.

Contents

Path Size Files What it is
camb_grid_spline.npz 7.9 GB 1 the 5D CAMB grid that sample_joint interpolates
joint_inference_data/ 70 MB 603 LCDM parameter chains from sample_joint
delensed_field_covariance_data/ 138 MB 306 empirical delensed covariances, the field block of the Fisher forecast
map_joint_phi_noise_data/ 156 MB 306 per-mode lensing reconstruction noise of map_joint
sampler_phi_noise_data/ 300 MB 906 per-mode lensing reconstruction noise of the sampler's posterior mean

Each of the four folders has a README.md saying how its runs were made, how each merged file was produced from the files next to it (the command, its arguments such as the burn-in, the commit) and what is not stored here.

Every run uses 128 x 128 pixel temperature maps (pol = I) at 2.5 arcminutes per pixel, white noise only (l_knee = 0, no beam, no mask), at 2.5, 5 or 10 uK-arcmin, with the ground truth cosmology

theta_MC_100 logA ns ombh2 omch2
1.031732 3.218387 0.959814 0.022386 0.109381

Every run folder holds a submission_settings.txt: the audit trail the cluster driver wrote, with every setting the run was launched with.

Downloading

pip install -U huggingface_hub

#one folder
hf download zaneblood1/cmb_lensing_public_data --repo-type dataset \
    --include "joint_inference_data/*" --local-dir cmb_lensing_data

#everything (about 8.6 GB, of which the grid is 7.9 GB)
hf download zaneblood1/cmb_lensing_public_data --repo-type dataset --local-dir cmb_lensing_data

The CAMB grid needs no manual step: CMBLensing.py downloads it into camb_splines/ the first time the sampler asks for it, or ahead of time with cmb-lensing-download-splines.

The files are NumPy .npz archives and plain text, so the dataset viewer and datasets.load_dataset do not apply. Read them with numpy.load and numpy.loadtxt.

The 5D CAMB grid

camb_grid_spline.npz holds CAMB spectra on a tensor-product grid over the five LCDM parameters, which the package turns into a 5D cubic spline. It serves any subset of the five parameters and every polarization mode. See Installation for how it is fetched and Building the CAMB Grid for how to rebuild it.

Parameter Minimum Maximum Nodes
h0 25 130 81
log_a 2.661635 3.782861 5
ns 0.867143 1.042186 5
ombh2 0.020413 0.024389 5
omch2 0.079704 0.155541 7

CAMB settings: lmax = 4000, tau = 0.05, mnu = 0.06, k_pivot = 0.05, alens = 1, and accuracy_boost = l_sample_boost = l_accuracy_boost = 1.

sha256 of the file: e14ce1e7b723c16bd16a58ec7d75388af4c3099e4972ca02ac0729835bbb896e.

Reproducibility notes

  • Every per-realization file stores its own truth (seed, parameters, box and noise settings), so each merged file can be rebuilt from the files next to it with the command in its folder's README.md. The one exception is sampler_phi_noise_data/: its merge reads every chain's raw samples (112 GB per run), which are not stored here.
  • Map seeds: realization i (0 to 99) of the three measurement folders has seed 234567 + i, so realization i is the same simulated map in all three; map m (1 to 10) of the chains has seed 234567 * m.
  • The code that made the runs is the CMBLensing.py repository at the commits named in each folder's README.md.

Citation and license

If you use this data, please cite CMBLensing.py through the CITATION.cff in its repository, and CMBLensing.jl, which it ports.

Released under the MIT license, the same as the code.

Downloads last month
49