Skip to main content

A differentiable simulation library for fuzzy dark matter in JAX

Project description

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

Getting started

Install with:

pip install jaxion

or, for GPU support, use:

pip install jaxion[cuda12]

See the docs for more info on 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

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

Links

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 = oct,
    title = {{Jaxion}},
      url = {https://github.com/JaxionProject/jaxion},
  version = {0.0.4},
     year = {2025}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaxion-0.0.5.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaxion-0.0.5-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file jaxion-0.0.5.tar.gz.

File metadata

  • Download URL: jaxion-0.0.5.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jaxion-0.0.5.tar.gz
Algorithm Hash digest
SHA256 c36a4d1f76d01f7cc0182cb2af115aae05988c29ba742e3874c168a699855e3f
MD5 f25f9892be3cc0731fb18b83b714b231
BLAKE2b-256 8ea032b5fcfb0fc9b54bc055cbc17622c8b881c723d184f331b2fea5d16205b9

See more details on using hashes here.

File details

Details for the file jaxion-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: jaxion-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for jaxion-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4837b9db0e4603c88fc433a0d1f7039ce6def3d1910a27ebc8306ff7dd4a65e8
MD5 2a42f20b31e46d67e12d85be610bcff9
BLAKE2b-256 9c2b1a31a41a231e1245255057659d07f26b6ff9d408f58fb12e3fa28c5f72df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page