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

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.0.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.0-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jestertov-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 260f89f63f7509bb14494d1a2109ffda5dfd9f75d06b56099d3973de7834a625
MD5 662bbce377eaf72aa81ca11c89a14ede
BLAKE2b-256 eadcc8356a98df6759746beea380d3b6ed87080c2eb197a081b802d06f9a0311

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jestertov-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a9e8f6a940b4315d6d276de1acfabe0999ee19e75d34a63d557acf1ccec7de4
MD5 9209b9fe0d9a788f164db02b9b918435
BLAKE2b-256 03b40bc0ee02ae6e8586a2194450e1c26099c5d05fe8b4cce9044b74dc48f243

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