jaxion
A simple JAX-powered simulation library for numerical experiments of fuzzy dark matter, stars, gas + more!
Author: Philip Mocz (@pmocz)
Jaxion is built for multi-GPU scalability and is fully differentiable. It is a high-performance JAX-based simulation library for modeling fuzzy dark matter alongside stars, gas, and cosmological dynamics. Being differentiable, Jaxion can seamlessly integrate with pipelines for inverse-problems, inference, optimization, and coupling to ML models.
Jaxion is the simpler companion project to differentiable astrophysics code Adirondax
Install Jaxion
Install with:
pip install jaxion
or see the docs for how to build from source.
Examples
Check out the examples/ directory for demonstrations of using Jaxion.
Try it out!
Launch a live demo in Google Colab:
High-Performance
Jaxion is scalable on multiple GPUs!
Contributing
Jaxion welcomes community contributions of all kinds. Open an issue or fork the code and submit a pull request. Please check out the Contributing Guidelines
TODO/Wishlist
- cosmological initial condition generator
- add cosmological factors to gas evolution
Links
- Code repository on GitHub (this page).
- Documentation for up-to-date information about installing and using Jaxion.
Cite this repository
If you use this software, please cite it as below.
@software{Mocz_Jaxion_2025,
author = {Mocz, Philip},
doi = {10.5281/zenodo.17438467},
month = apr,
title = {{Jaxion}},
url = {https://github.com/JaxionProject/jaxion},
version = {0.0.11},
year = {2026}
}
Metadata
Release files for jaxion 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jaxion-0.0.13.tar.gz | 24.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jaxion-0.0.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.0 kB
Release files / jaxion-0.0.13.tar.gz
| Download URL | jaxion-0.0.13.tar.gz |
|---|---|
| Size | 24.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a805c0c46876f43b61d646a8c8a99007ac6810787fbedf8aec727760342a9836
|
|
BLAKE2b-256 checksum How to use checksums |
510fd52d193013c20cfae831184c5e98d9a0614ee2a0b91d7fab067f080ac6b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / jaxion-0.0.13-py3-none-any.whl
| Download URL | jaxion-0.0.13-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68598f9a6eb1eb9c0c4092788472b3d379ab32b066d77269432f03dff7e463e7
|
|
BLAKE2b-256 checksum How to use checksums |
f776fad6c58aab41f76b86bd695e8f35f967b724b029aa2ba6be77fa4833ac0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|