Stellar Activity Grid for Exoplanets — JAX implementation
Project description
SAJAX — Stellar Activity Grid for Exoplanets in JAX
SAJAX is a JAX-accelerated reimplementation of SAGE (Chakraborty et al. 2024), a code that models stellar contamination of exoplanet transmission spectra from active regions (ars, faculae) on the stellar surface.
The key innovation over plain SAGE is that SAJAX vectorises the spectral
loop with jax.vmap, making it fast on both CPU and GPU without any
change to the calling code, and fully differentiable — enabling
gradient-based inference with tools like NumPyro or Optax.
Documentation can be found at sajax.readthedocs.io
Installation
pip install sajax
Or in development mode from a local clone:
git clone https://github.com/SamMerc/sajax.git
cd sajax
pip install -e ".[dev]"
Repository layout
sajax/
├── sajax/
│ ├── __init__.py # public API
│ ├── core.py # JAX light-curve engine
│ ├── planet.py # planet orbital dynamics
│ ├── geometry.py # rotation matrices, coordinate transforms
├── docs/
│ ├── quickstart.ipynb
│ ├── comparison.ipynb
│ ├── inference.ipynb
├── tests/
│ ├── test_core.py
│ ├── test_planet.py
├── pyproject.toml
├── .gitignore
└── README.md
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sajax-0.3.2.tar.gz.
File metadata
- Download URL: sajax-0.3.2.tar.gz
- Upload date:
- Size: 43.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
978c5e372df6d6217292867bde38b514ae79c3d03fbae02cdcabc6e90f00e9b4
|
|
| MD5 |
d819d825f7f2675c80eae5a6224569c7
|
|
| BLAKE2b-256 |
44f5d112b878d458e98fbd1db60cf3dac9c021a00eb3f95d5220d4b4f5160a8b
|
Provenance
The following attestation bundles were made for sajax-0.3.2.tar.gz:
Publisher:
publish.yml on SamMerc/sajax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sajax-0.3.2.tar.gz -
Subject digest:
978c5e372df6d6217292867bde38b514ae79c3d03fbae02cdcabc6e90f00e9b4 - Sigstore transparency entry: 1423923614
- Sigstore integration time:
-
Permalink:
SamMerc/sajax@174c5c9ed6e0cc32d28a43a8b386c193cda8e897 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/SamMerc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@174c5c9ed6e0cc32d28a43a8b386c193cda8e897 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sajax-0.3.2-py3-none-any.whl.
File metadata
- Download URL: sajax-0.3.2-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
389e37553fff4c2c5a2bb0e694a8e105925287460419b641ff403841666ff373
|
|
| MD5 |
c8e50e4c7d93a78ce295184678bcb4b8
|
|
| BLAKE2b-256 |
e039589bcb177832314ae20e4f48a0c8026df0323e693b74026c99ae44e4f443
|
Provenance
The following attestation bundles were made for sajax-0.3.2-py3-none-any.whl:
Publisher:
publish.yml on SamMerc/sajax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sajax-0.3.2-py3-none-any.whl -
Subject digest:
389e37553fff4c2c5a2bb0e694a8e105925287460419b641ff403841666ff373 - Sigstore transparency entry: 1423923732
- Sigstore integration time:
-
Permalink:
SamMerc/sajax@174c5c9ed6e0cc32d28a43a8b386c193cda8e897 -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/SamMerc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@174c5c9ed6e0cc32d28a43a8b386c193cda8e897 -
Trigger Event:
release
-
Statement type: