juliensimon/crdb-cosmic-ray-spectra
Cosmic Ray Database (CRDB) Credit: NASA/JPL-Caltech/STScI/CXC/SAO Part of a dataset collection on Hugging Face. Dataset description Complete cosmic ray spectral database from CRDB (Cosmic Ray DataBase) -- the reference database for cosmic ray physics, maintained by D. Maurin et al. at LPSC Grenoble. Cosmic rays are high-energy charged particles -- mostly protons and atomic nuclei, but also electrons and positrons -- that bombard the Earth from all… See the full description on the dataset page: https://huggingface.co/datasets/juliensimon/crdb-cosmic-ray-spectra.
Cosmic Ray Database (CRDB)
<div align="center"> <img src="banner.jpg" alt="Cassiopeia A supernova remnant in X-ray, optical, and infrared light" width="400"> <p><em>Credit: NASA/JPL-Caltech/STScI/CXC/SAO</em></p> </div>
Part of a [dataset collection](https://huggingface.co/collections/juliensimon/physics-datasets-69c2d4682d37dfdb77447bd7) on Hugging Face.
Dataset description
Complete cosmic ray spectral database from CRDB (Cosmic Ray DataBase) -- the reference database for cosmic ray physics, maintained by D. Maurin et al. at LPSC Grenoble.
Cosmic rays are high-energy charged particles -- mostly protons and atomic nuclei, but also electrons and positrons -- that bombard the Earth from all directions. Their energies span an astonishing range, from sub-GeV particles modulated by the solar wind to ultra-high-energy events exceeding 10^20 eV, far beyond what any terrestrial accelerator can produce.
CRDB aggregates measurements from an extraordinary variety of instruments: magnetic spectrometers on the International Space Station (AMS-02), balloon-borne calorimeters (CREAM, TRACER), satellite experiments (PAMELA, CALET, DAMPE), ground-based air shower arrays (KASCADE, Tibet AS-gamma), and Cherenkov telescopes. The database also includes secondary-to-primary ratios like boron-to-carbon (B/C), which are critical probes of cosmic ray propagation models and the diffusion coefficient of the interstellar medium.
This dataset is essential for constraining cosmic ray propagation models (e.g., GALPROP, DRAGON, USINE), testing dark matter annihilation signatures in positron and antiproton spectra, calibrating hadronic interaction models used in air shower simulations, and studying solar modulation effects.
This dataset is suitable for tabular regression tasks.
Schema
Quick stats
- 315,409 cosmic ray flux measurements
- 466 particle species
- 130 experiments
- Energy range: 2.55e-04 to 3.20e+11 GeV/n
Usage
from datasets import load_dataset
ds = load_dataset("juliensimon/crdb-cosmic-ray-spectra", split="train")
df = ds.to_pandas()from datasets import load_dataset
ds = load_dataset("juliensimon/crdb-cosmic-ray-spectra", split="train")
df = ds.to_pandas()
# Proton spectrum from AMS-02
ams02_p = df[(df["particle"] == "H") & (df["experiment"] == "AMS-02")]
print(f"{len(ams02_p):,} AMS-02 proton data points")
# All experiments for a given particle
import matplotlib.pyplot as plt
protons = df[df["particle"] == "H"]
for exp, grp in protons.groupby("experiment"):
plt.scatter(grp["energy_gev_n"], grp["flux"], s=1, label=exp, alpha=0.5)
plt.xscale("log"); plt.yscale("log")
plt.xlabel("Energy (GeV/n)"); plt.ylabel("Flux")
plt.title("Proton Cosmic Ray Spectrum")
plt.show()Data source
https://lpsc.in2p3.fr/crdb/
Related datasets
If you find this dataset useful, please consider giving it a like on Hugging Face. It helps others discover it.
About the author
Created by Julien Simon — AI Operating Partner at Fortino Capital. Part of the Space Datasets collection.
Citation
@dataset{crdb_cosmic_ray_spectra,
title = {Cosmic Ray Database (CRDB)},
author = {Simon, Julien},
year = {2026},
url = {https://huggingface.co/datasets/juliensimon/crdb-cosmic-ray-spectra},
publisher = {Hugging Face},
note = {Derived from Laboratoire de Physique Subatomique et de Cosmologie, Grenoble, https://lpsc.in2p3.fr/crdb/}
}