# CMBLensing.py Data: 5D CAMB LCDM Spectra Grid, Joint Lensing Chains and Delensing Covariances for Flat-Sky CMB Lensing

## Facts

- Provider: Zane Blood
- License: MIT (https://huggingface.co/datasets/zaneblood1/cmb_lensing_data)
- Size: 14,123 files
- Format: NumPy (in sampled files)
- Stored at: Hugging Face, https://huggingface.co/datasets/zaneblood1/cmb_lensing_data
- Access: public, readable without an account
- Category: Astronomy & Space
- Source: https://github.com/zaneblood1/CMBLensing.py
- Page: https://scigantic.com/archive/41822a9f-e908-5a4c-a244-39b1375a9718
- Keywords: Astronomy & Space, spectroscopy, NumPy, Hugging Face

## About

Data products behind CMBLensing.py, a JAX port of the Julia package CMBLensing.jl that simulates gravitationally lensed cosmic microwave background (CMB) temperature and polarization maps on a flat sky, reconstructs the unlensed field and lensing potential (map_joint), and jointly samples LCDM cosmological parameters from a lensed map (sample_joint). The repository holds a precomputed 5D grid of CAMB power spectra over omch2, ombh2, n_s, theta_MC and log A (camb_grid_spline.npz, 7.9 GB) that the sampler interpolates as a cubic spline, plus the results reported for the package: LCDM parameter chains (joint_inference_data), empirical delensed field covariances for a Fisher forecast, per-mode lensing reconstruction noise of map_joint and of the sampler posterior mean, and timing and reconstruction comparisons between the Python and Julia map_joint. Unless noted, experiments use 128 x 128 maps at 2.5 arcmin pixels with white noise of 2.5, 5 or 10 uK-arcmin. About 23 GB of NumPy .npz and text files; read with numpy.load and numpy.loadtxt. Released under the MIT license by the author, the same as the code.

## Load the data

```python
from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id="zaneblood1/cmb_lensing_data", filename="camb_grid_spline.npz", repo_type="dataset")
print(path)
```

## Data structure

File types in sampled files: NumPy

Example file: `camb_grid_spline.npz`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/41822a9f-e908-5a4c-a244-39b1375a9718
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/41822a9f-e908-5a4c-a244-39b1375a9718
- Over MCP: `get_schema_card` with id `41822a9f-e908-5a4c-a244-39b1375a9718` at https://api.scigantic.com/mcp

## Related topics

- [Astronomy & Space datasets](https://scigantic.com/topics/astronomy-and-space)
- [Spectroscopy datasets](https://scigantic.com/topics/spectroscopy)
- [NumPy datasets](https://scigantic.com/topics/numpy)
