Skip to content

Latest commit

 

History

History
163 lines (124 loc) · 6.39 KB

File metadata and controls

163 lines (124 loc) · 6.39 KB

jaxion logo

jaxion

Repo Status PyPI Version Status Test Status Coverage Ruff asv Readthedocs Status License Software DOI JOSS DOI

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.

cosmological_box dynamical_friction heating_gas
heating_stars kinetic_condensation logo_inverse_problem
soliton_binary_merger soliton_merger tidal_stripping

Try it out!

Launch a live demo in Google Colab: Open In Colab

High-Performance

Jaxion is scalable on multiple GPUs!

timing

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

Cite this repository

If you use this software, please cite the software

@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}
}

and the published JOSS paper:

@article{Mocz_Jaxion_JOSS_2026,
author = {Mocz, Philip},
doi = {10.21105/joss.09542},
journal = {Journal of Open Source Software},
month = jul,
number = {123},
pages = {9542},
title = {{Jaxion: A JAX package for Fuzzy Dark Matter}},
url = {https://joss.theoj.org/papers/10.21105/joss.09542},
volume = {11},
year = {2026}
}