/clusterXrayFluctuation

Using simulation based inference to study the turbulent motion in galaxy clusters through X-ray surface brightness fluctuations

Primary LanguagePython

X-ray surface brightness fluctuations code

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:

Installation

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