jaxstar
Fast stellar isochrone fitting with HMC/NUTS, powered by JAX and NumPyro. The method is described in Masuda (2022).
Installation
jaxstar requires Python 3.10 or later. Install the released package from PyPI:
python -m pip install jaxstar
For development and testing from a source checkout:
python -m pip install -e ".[test]"
MIST grid data
MistFit() and MistGridIso() use the MIST v1.2 synthetic photometry grid.
On first use, jaxstar downloads the source CMD archive, generates the NumPy
grid, and stores it in the platform-specific user cache. Later environments
and reinstalls reuse that cached grid automatically.
To use a grid at a specific path:
from jaxstar.mistfit import MistFit
fit = MistFit(path="/path/to/mistgrid_iso.npz")
Alternatively, set the JAXSTAR_MISTGRID_PATH environment variable:
export JAXSTAR_MISTGRID_PATH=/path/to/mistgrid_iso.npz
The grid path is resolved in this order:
- explicit
path=...argument; JAXSTAR_MISTGRID_PATH;- the versioned user cache.
If the resolved default cache file is missing, it is generated transparently. The source CMDs come from the MIST synthetic photometry grids.
Optional correction utilities
The core package dependencies are installed automatically. Functions in
jaxstar.utils.correction additionally use:
- dustmaps for Bayestar extinction corrections;
- gaiadr3-zeropoint for Gaia EDR3 parallax zero-point corrections.
Install them when those utilities are needed:
python -m pip install dustmaps gaiadr3-zeropoint
Testing
The default test suite is fast, deterministic, and does not download the full MIST archive:
python -m pytest -q
To run the optional historical full-grid regression test:
JAXSTAR_MISTGRID_PATH=/path/to/mistgrid_iso.npz \
python -m pytest -m full_grid
Examples
Start with the isochrone fitting example, or browse the examples directory.
Metadata
Release files for jaxstar 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jaxstar-0.1.1.tar.gz | 78.7 kB | With provenance | Details for jaxstar-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jaxstar-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for jaxstar-0.1.1-py3-none-any.whl |
Total release size: 93.7 kB
Release files / jaxstar-0.1.1.tar.gz
| Download URL | jaxstar-0.1.1.tar.gz |
|---|---|
| Size | 78.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ebda2f3fcdebdfc3f8cae8a9f9364eebbbaea406ea3678285debb546209bdca6
|
|
BLAKE2b-256 checksum How to use checksums |
11e7ed4a75a19b3fd48cab259f43c39e4b15f0d7f23f0b8d12d6ed84ae1a8519
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / jaxstar-0.1.1-py3-none-any.whl
| Download URL | jaxstar-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd36c8fbe9130459fc16e14fe99a817b9e736e8bb1ac955bf52ee19051b9d2ff
|
|
BLAKE2b-256 checksum How to use checksums |
570065098927141ba207baa7130e77920092da200b19449737f0d817fc1af715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logSecurity for jaxstar 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for jaxstar-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.