A differentiable simulation library for fuzzy dark matter in JAX
Project description
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 = dec,
title = {{Jaxion}},
url = {https://github.com/JaxionProject/jaxion},
version = {0.0.9},
year = {2025}
}
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jaxion-0.0.11.tar.gz.
File metadata
- Download URL: jaxion-0.0.11.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b663879e598b65fdaeb622ad5a578bddfacaa29cfd958f827c1ff98466624407
|
|
| MD5 |
d1252a80f55bcd606a4edbcf793c3933
|
|
| BLAKE2b-256 |
614e4ec41d2d2beb189896158901f882250c0b892cb6f970ad46c94c8f6b22ed
|
File details
Details for the file jaxion-0.0.11-py3-none-any.whl.
File metadata
- Download URL: jaxion-0.0.11-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3ef9da6b454f223cab984b30d1d32ca535daf0c8cd240b01b4866f95c9a989b
|
|
| MD5 |
94dea6c3e4304f91a49d5d5f6edf30fd
|
|
| BLAKE2b-256 |
d8475bbbb98e91514d146d5c693fc887ca9c14f6dbb2371d96c306c2e41f485b
|