Metadata-Version: 2.4
Name: redshape
Version: 0.0.4
Summary: JAX building blocks for galaxy-survey likelihoods: full-shape EFTofLSS adapters, bias bases, analytic marginalization, DESI data; photometric surveys, tracers and Gaussian bandpower covariances
Author: Rodrigo Calderon
Author-email: Rodrigo Calderon <calderon.cosmology@gmail.com>
License-Expression: MIT
Requires-Dist: equinox>=0.11
Requires-Dist: jax>=0.4.30
Requires-Dist: numpy>=1.24
Requires-Dist: h5py>=3.8 ; extra == 'desi'
Requires-Dist: pybird-lss[jax] ; extra == 'pybird'
Requires-Python: >=3.12
Provides-Extra: desi
Provides-Extra: pybird
Description-Content-Type: text/markdown

# redshape

**redshape** is a small, sampler-independent JAX toolkit for galaxy power-spectrum full-shape
likelihoods. Its name combines **red**shift-space modelling with the **shape** of the observed
power spectrum.

It provides:

- JIT- and autodiff-compatible one-loop EFTofLSS multipoles through
  [pybird](https://github.com/pierrexyz/pybird);
- a small loop-model contract (`redshape.model`: `prepare` once per cosmology, `evaluate` per
  set of EFT parameters) that pybird implements and that an emulator of the multipoles can
  implement too, with a generic linear decomposition for analytic marginalization;
- analytic marginalization of linear EFT parameters with Gaussian priors;
- readers and physical-basis helpers for DESI DR1 full-shape data;
- the peak-average no-wiggle filter of cosmoprimo and ShapeFit's slope $m$ (`redshape.nowiggle`), traceable and differentiable.

```bash
uv sync --extra pybird --extra desi
uv run pytest
```
