class_sz
Cosmic Linear Anisotropy Solving System with Machine Learning Accelerated CMB, LSS and Halo Model Observables Computations
Note
Class_sz is compatible with Jax and now allows for automatic differentiation on some of its output. See here for an example on the matter power spectrum. The code can now be used in Hamiltonian Monte Carlo and Simulation-Based Inference pipelines.
Note
This documentation shows some of the capabilities of the code. Legacy notebooks (not maintained and which may not run smoothly) present further calculations (almost all you need for CMB/LSS) and are gradually being imported into this documentation.
Getting Started
Advanced Installation
Input parameters
Hubble function
Critical Density
Comoving distance
CMB power spectra
Linear matter power spectrum
Linearly biased tracers
Halo mass function
CMB Lensing
CMB Lensing x Galaxy lensing
Galaxy x Galaxy lensing
TSZ power spectrum
TSZ bispectrum
TSZ X Galaxies
TSZ X Galaxy Lensing
CIB auto
CIB x CMB lensing
kSZ2 X Galaxies
kSZ2 X kappa
SZ cluster cosmology
Cross-correlations COMBO
Velocity dispersion