Installation

Requirements

  • Python 3.11+

  • mamba (recommended) or conda

From PyPI

pip install sys_mapping

For the optional ElasticNet regression method:

pip install "sys_mapping[regression]"

Create the environment

mamba env create -f environment.yml
mamba activate sys_map

This installs all dependencies including JAX (CPU build), healpy, emcee and TreeCorr.

Install in editable mode

pip install -e .

Run the test suite

pytest tests/ -v

Build the documentation

pip install sphinx sphinx-rtd-theme myst-parser
cd docs
make html
# open docs/_build/html/index.html