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.2.2.tar.gz (21.2 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.2.2-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sajax-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ae1b407669ca5eac5035bf27c7293f384720bce5e24fd45101b0789a4d071bb8
MD5 87190b701e8e89f3e10363123d56c6e3
BLAKE2b-256 4ca6507d31c86f3ed7b0f26bb71e678f87e497db79be3e97012bb828256f2c24

See more details on using hashes here.

Provenance

The following attestation bundles were made for sajax-0.2.2.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.2.2-py3-none-any.whl.

File metadata

  • Download URL: sajax-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 15.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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 671876f8bb122c2a45e125b7d98dea95ecc979f2f2270732856d7ce452aad2ce
MD5 a3645d6e8c12b7025a174b899ffed155
BLAKE2b-256 ef9792778541e625256c6ffc42b3a9c508bb777e8063b56b979fe2b5e28bdedb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sajax-0.2.2-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