Installation instructions

rgrspit_diffsky is not yet available on conda or pip, but can be installed locally with pip from the source code

$ cd /path/to/rgrspit_diffsky $ pip install .

For an example conda environment with the needed dependencies:

$ conda create -c conda-forge -n diffsky_env python=3.11 numpy jax pytest ipython jupyter matplotlib scipy h5py diffmah diffstar dsps diffsky

Managing dependencies

The above commands will install all the latest releases of the diffsky dependency chain. This includes numpy and jax, and also a collection of libraries implementing the differentiable modeling ingredients: Diffmah, Diffstar, and DSPS.

Depending on your analysis, you may need to install a specific branch of diffsky and/one of its dependencies. You can do this by cloning the GitHub repo of the code for which you need a custom version, checking out the appropriate version, and running:

$ pip install . --no-deps