Skip to main content

JAX-powered machine learning and modeling framework for GRaTeR disks.

Project description

GRaTeR-JAX

GRaTeR-JAX is a machine learning JAX-based implementation of the Generalized Radial Transporter (GRaTeR) framework, designed for modeling scattered light disks in protoplanetary systems. This repository provides tools for forward modeling, optimization, and parameter estimation of scattered light disk images using JAX's accelerated computations.

Features

  • JAX-Based Optimization: Leverages JAX for fast, GPU/TPU-accelerated disk modeling.
  • Scattered Light Disk Modeling: Implements physical models of exoplanetary debris disks.
  • Differentiable Framework: Enables gradient-based optimization and probabilistic inference.
  • Integration with Webbpsf: Supports PSF convolution for telescope observations.

Installation

To install GRaTeR-JAX and its dependencies, run:

git clone https://github.com/UCSB-Exoplanet-Polarimetry-Lab/GRaTeR-JAX.git
cd GRaTeR-JAX
pip install -e .

pip install -U <jax backend> ("jax[cuda12_pip]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html for cuda for example)

Make sure you have JAX installed with the correct backend for your hardware:

pip install --upgrade "jax[cpu]"  # or "jax[cuda]" for GPU

Usage

Refer to the documentation at grater-jax.readthedocs.io.

Check out GRaTeR Image Generator to visualize how each of the parameters affect the disk model!

Repository Structure

GRaTeR-JAX/
│── disk_model/            # Code for disk modeling
│── optimization/          # Tools for statistical optimization and analysis
|── tutorials/             # Tutorial Jupyter notebooks
│── webbpsf-data           # PSF data for various instruments
│── PSFs/                  # PSF data for the disk model
│── environment.yml        # Dependencies
│── requirements.txt       # Pip dependencies
│── README.md              # This document

Contributing

We welcome contributions! To contribute:

  1. Fork the repository.
  2. Create a feature branch:
    git checkout -b feature-branch
    
  3. Commit your changes and push to your fork.
  4. Open a pull request.

Acknowledgments

Developed by the UCSB Exoplanet Polarimetry Lab. This work is inspired by previous implementations of GRaTeR and advances in JAX-based differentiable modeling. Additional thanks to Kellen Lawson for developing the Winnie package that this framework uses to model JWST PSFs.


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

grater_jax-0.2.1.tar.gz (57.3 kB view details)

Uploaded Source

Built Distribution

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

grater_jax-0.2.1-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

Details for the file grater_jax-0.2.1.tar.gz.

File metadata

  • Download URL: grater_jax-0.2.1.tar.gz
  • Upload date:
  • Size: 57.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for grater_jax-0.2.1.tar.gz
Algorithm Hash digest
SHA256 44560720ebd3ea4ef8db0e302edd8f2362104dcd80b4e0608a70b54258de0f9f
MD5 d370409b3689c2cd120811a75b01e1a8
BLAKE2b-256 37588d78902b8eac2414a4d1d3c291229e60e36ddf617dc0e4278f7861e8edea

See more details on using hashes here.

Provenance

The following attestation bundles were made for grater_jax-0.2.1.tar.gz:

Publisher: publish.yml on UCSB-Exoplanet-Polarimetry-Lab/GRaTeR-JAX

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

File details

Details for the file grater_jax-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: grater_jax-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 53.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for grater_jax-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b303a5e14598536f68af49c729060413647c18735efccce49a6e9eede115e15
MD5 97ad12e49aaebe179a1090bb7a5b07db
BLAKE2b-256 1d073b0c71cc7574485b4a9b5b8e570d058634be16caea63afdeb1a907db9e41

See more details on using hashes here.

Provenance

The following attestation bundles were made for grater_jax-0.2.1-py3-none-any.whl:

Publisher: publish.yml on UCSB-Exoplanet-Polarimetry-Lab/GRaTeR-JAX

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