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 Readthedocs Status License

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
soliton_binary_merger soliton_merger tidal_stripping

Links

Testing

Jaxion is tested with pytest. Tests are included in the tests/ folder.

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

Cite this repository

TODO XXX

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.4.tar.gz (19.9 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.4-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxion-0.0.4.tar.gz
  • Upload date:
  • Size: 19.9 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.4.tar.gz
Algorithm Hash digest
SHA256 f99190726cdb1aa7c43652897a417f41f33168b20094e8211ddfcb2b1a973c91
MD5 6e62d0ed0a6faf0fe373efa474dba7ae
BLAKE2b-256 f01f417a336353ab781e708170780d2db922e9d24af8182ee55442dc829ab22c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxion-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 20.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 860ba5561a130297775064ab138af67963217b544f126312c65c6f8f4f6fb6f5
MD5 abbe3e7bb6328ea735d1286312351d49
BLAKE2b-256 0b1debcbbbc6fe457414736de71dd84261759490e62a767f3021dd8abf331e8a

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