Skip to main content

jaxion logo

jaxion

Repo Status PyPI Version Status Test Status Coverage Ruff asv Readthedocs Status License Software 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

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)

Source distribution for jaxion 0.0.13
File Size Uploaded
jaxion-0.0.13.tar.gz 24.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jaxion 0.0.13
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.13 This release

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page