Skip to main content

Stellar Activity Grid for Exoplanets — JAX implementation

Project description

SAJAX — Stellar Activity Grid for Exoplanets in JAX

Tests codecov

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
│   ├── geometry.py          # rotation matrices, coordinate transforms
├── examples/
│   └── sajax_quickstart.ipynb
├── tests/
│   └── test_core.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

sajax-0.3.0.tar.gz (36.7 kB view details)

Uploaded Source

Built Distribution

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

sajax-0.3.0-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file sajax-0.3.0.tar.gz.

File metadata

  • Download URL: sajax-0.3.0.tar.gz
  • Upload date:
  • Size: 36.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sajax-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4637c4998f563da2024bb63b61aff4475375d3acaf2c7cbfbe7a6cdb462ae94a
MD5 cbbc32881c49dc02427defe0f0054ba6
BLAKE2b-256 a43d24d45730747194ba90c30bb72ca47d1ee5f509801f6f46d7dd504ccff593

See more details on using hashes here.

Provenance

The following attestation bundles were made for sajax-0.3.0.tar.gz:

Publisher: publish.yml on SamMerc/sajax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sajax-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: sajax-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sajax-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e5793001d72772a0e4d55eb3b8dedfeb880efef8f6a9845f2f060cd2208bdb2
MD5 01e6bc1910eb2fa6f47da3b635ae6c9b
BLAKE2b-256 db29b5d89394d648cd9b68c1e68f484cd78fcfc79fa66ee1f5a6633fb5fa25bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sajax-0.3.0-py3-none-any.whl:

Publisher: publish.yml on SamMerc/sajax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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