Library for differentiable generation of synthetic skies
Project description
Code for producing mock catalogs based on diffstar and dsps.
Installation
The latest release of diffsky is available for installation with pip or conda:
$ conda install 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:
$ conda create -n diffsky_env python=3.9 numpy jax pytest ipython jupyter matplotlib scipy h5py diffmah diffstar dsps diffsky
Documentation
Online documentation for diffsky is available at diffsky.readthedocs.io.
Testing
To run the suite of unit tests:
$ cd /path/to/root/diffsky $ pytest
To build html of test coverage:
$ pytest -v --cov --cov-report html $ open htmlcov/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
diffsky-0.1.0.tar.gz
(24.2 kB
view hashes)