Diffsky is a python library based on JAX for producing mock catalogs based on diffstar and dsps.
The latest release of diffsky is available for installation with pip or conda-forge:
$ conda install -c conda-forge diffsky
To install diffsky into your environment from the source code:
$ cd /path/to/root/diffsky $ pip install .
For a typical development environment in conda-forge:
$ conda create -c conda-forge -n diffsky_env python=3.11 numpy jax pytest ipython jupyter matplotlib scipy h5py diffmah diffstar dsps diffsky
Online documentation for diffsky is available at diffsky.readthedocs.io.
See this OpenCosmo tutorial for information about how to access the latest mock with OpenCosmo. The latest release of the mocks can be downloaded at this URL:
https://portal.nersc.gov/project/hacc/aphearin/diffsky_data/cosmos_260316_06_13_2026