Skip to content

ArgonneCPAC/diffsky

Repository files navigation

diffsky

Diffsky is a python library based on JAX for producing mock catalogs based on diffstar and dsps.

Installation

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 .

Conda environment

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

Documentation

Online documentation for diffsky is available at diffsky.readthedocs.io.

Latest version of diffsky mocks

See this OpenCosmo tutorial for information about how to access the latest mock with OpenCosmo. All the publicly available mocks are located at the following path on NERSC:

/global/cfs/cdirs/hacc/OpenCosmo/LastJourney/synthetic_galaxies/

For the most recent version of the mocks:

hlwas_cosmos_260215_02_17_2026 (1000 deg^2)
hltds_cosmos_260215_02_17_2026 (100 deg^2, includes disk/bulge decomposition)

About

Library for differentiable generation of synthetic skies

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors