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.0.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.0-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grater_jax-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8aa59e782235eef6274d86dd3b193a7e804bee956365b278f09bcab9277470df
MD5 8b548bd5721374a1148c7ca575441589
BLAKE2b-256 e2388c1287ed3db2c5bf4749d27df2d0bdba908e474e33b9996d8dc11ebbd16e

See more details on using hashes here.

Provenance

The following attestation bundles were made for grater_jax-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: grater_jax-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c6a2fdca084842cf8eff0b99f69d03782e39108f26c4d56f805ffd6dae0aeb6
MD5 3a66f397b4db0f8ec8fe4f958623deca
BLAKE2b-256 59fba294d43f55992f2db0dbfb673dd9227bd2f613073831e4349b20207d6355

See more details on using hashes here.

Provenance

The following attestation bundles were made for grater_jax-0.2.0-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