Skip to main content

JAX-accelerated nuclear equation of state code and TOV solver with automatic differentiation

Project description

CI Documentation Status arXiv

JESTER

JAX-accelerated nuclear equation of state code and TOV solver -- with support for automatic differentiation!

Installation

pip install jesterTOV

With optional dependencies:

pip install jesterTOV[examples]  # For running example notebooks
pip install jesterTOV[dev]       # For development (testing, pre-commit)
pip install jesterTOV[docs]      # For building documentation

Or install from source:

pip install git+https://github.com/nuclear-multimessenger-astronomy/jester

For GPU support:

pip install "jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html

Documentation

📚 Read the full documentation →

Example notebooks

  • examples/eos_tov.ipynb: Basic EOS and TOV solving
  • examples/automatic_differentiation.ipynb: Gradient-based optimization

Acknowledgements

If you use jester in your work, please cite our paper!

@article{Wouters:2025zju,
    author = "Wouters, Thibeau and Pang, Peter T. H. and Koehn, Hauke and Rose, Henrik and Somasundaram, Rahul and Tews, Ingo and Dietrich, Tim and Van Den Broeck, Chris",
    title = "{Leveraging differentiable programming in the inverse problem of neutron stars}",
    eprint = "2504.15893",
    archivePrefix = "arXiv",
    primaryClass = "astro-ph.HE",
    reportNumber = "LA-UR-25-23486",
    doi = "10.1103/v2y8-kxvx",
    journal = "Phys. Rev. D",
    volume = "112",
    number = "4",
    pages = "043037",
    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

jestertov-0.1.1.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

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

jestertov-0.1.1-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file jestertov-0.1.1.tar.gz.

File metadata

  • Download URL: jestertov-0.1.1.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jestertov-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4fdc0d41345e9671dc488bcb74070925c8e2ec9a602ef0baf38f745b9384b38e
MD5 470c0f360a7e3c1a19f0a989145e09fb
BLAKE2b-256 c81fc81160f77b5411b05d55cd4bcac06b7f72f4f9a3d2e2996eb1b585d5e557

See more details on using hashes here.

File details

Details for the file jestertov-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jestertov-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.13 {"installer":{"name":"uv","version":"0.9.13"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for jestertov-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a1fcd38435c1accd81f804e2401700941357f72fcf71128b7fe31997737457b
MD5 2b516665ecf93ed12ae6b70b62eb451b
BLAKE2b-256 538a0c3b64e045d76e00abbde871fe3170c846ca85d092bdc2372950e613e163

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