This is the source code used to infer density fluctuations statistics from the X-ray surface brightness fluctuations maps of galaxy clusters. It mostly enable the forward modelling of surface brightness maps using the GPU. It relies on both JAX and haiku libraries. It was used in the following paper:
- Investigating the turbulent hot gas in X-COP galaxy clusters
- CHEX-MATE: Turbulence in the intra-cluster medium from X-ray surface brightness fluctuations
The sanest way to install the code is to create a fresh Python 3.10 conda environment
conda create -n cluster-xsb python=3.10
conda activate cluster-xsb
Then install the code using poetry
pip install poetry
poetry install