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
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.2.0.tar.gz
(121.8 kB
view details)
File details
Details for the file diffsky-0.2.0.tar.gz.
File metadata
- Download URL: diffsky-0.2.0.tar.gz
- Upload date:
- Size: 121.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0b3b002c6746f4f58530c2cfd7486c16281fd5c7e2cedf79374bf54eac82b1f
|
|
| MD5 |
bb71121fd62fa93343fd0715d913798e
|
|
| BLAKE2b-256 |
f92246c3871c9f3c57b1dc98430cbeb159f56b0fe238512f8f39a28662040f99
|