jax-snana
GPU-accelerated supernova simulation, light curve fitting and cosmology in JAX
Developed and maintained by Matt Grayling (@mattgrayling).
About
jax-snana is a JAX reimplementation of the supernova analysis framework SNANA, supporting survey simulations, light curve fitting, BBC distance fitting and cosmological inference on CPU or GPU. It also provides a compiled simulator for simulation-based inference, as discussed in Grayling 2026 (https://arxiv.org/abs/2610.19000).
Installation and usage
jax-snana can be pip-installed via the command pip install jax-snana.
Detailed instructions on how to install and run jax-snana can be found here: https://jax-snana.readthedocs.io
Support
If you find something unclear, come across any bugs or would like a feature that is not yet implemented, please raise a GitHub issue.
Citing the code
If you use jax-snana, please cite Grayling 2026 (arXiv:2610.19000) as well as SNANA, Kessler et al. 2009 (PASP 121, 1028). If you use any of the models included within jax-snana, please also cite the papers that present them, listed here: https://jax-snana.readthedocs.io/en/latest/citing.html
Metadata
Release files for jax-snana 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jax_snana-0.1.0.tar.gz | 9.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jax_snana-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.8 MB
Release files / jax_snana-0.1.0.tar.gz
| Download URL | jax_snana-0.1.0.tar.gz |
|---|---|
| Size | 9.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f66a5f02ee49ebe9a39e229eea3b1ce2dfd3e08a166663feaf9df8ee3009c14
|
|
BLAKE2b-256 checksum How to use checksums |
4f6c31d68ff554c264dcb22f8869dd26d795338fd270442e4852975b50d7d327
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency logRelease files / jax_snana-0.1.0-py3-none-any.whl
| Download URL | jax_snana-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6e71304fff9ac35f8f001cdcb103c2f6e322f319fcdbfab6da8c08c1d980c32
|
|
BLAKE2b-256 checksum How to use checksums |
979e334e05f9949c9e29cb088faa6540c4afccc1018bcbc5d57f776216375a3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.
Transparency log