Skip to main content

Library for differentiable generation of synthetic skies

Project description

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.

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


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.2.tar.gz (94.4 kB view details)

Uploaded Source

File details

Details for the file diffsky-0.1.2.tar.gz.

File metadata

  • Download URL: diffsky-0.1.2.tar.gz
  • Upload date:
  • Size: 94.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for diffsky-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2237ecb1c0211809e775aa3ae85cc4a71c34f65943280666ab51299952533f5a
MD5 78092f718af00cd46778db91b3123cd3
BLAKE2b-256 60e6c62f23a30df56a3ca2538b179277d85f14c4031b65c541d223d18ded50ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page