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.1.1.tar.gz (57.6 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.1.1-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: grater_jax-0.1.1.tar.gz
  • Upload date:
  • Size: 57.6 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.1.1.tar.gz
Algorithm Hash digest
SHA256 b1369d9211dffe17b2dbf66a5049614938210621da76d4c0f9520e0d48032059
MD5 0ece6a2ffb87e1406455d4d76e678412
BLAKE2b-256 fd2b87d20b0970a4a1e8e04702837bf7b08ae12ce0b68c864f8f72a07c447847

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: grater_jax-0.1.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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cbd49e49de7a3ab063a0f5c53c63c5a0934804ef180ae78631494883587c64d3
MD5 6cf28c90f2dc57fdf1d6e69e59f02dd3
BLAKE2b-256 e0361c5ce49e3ad79b27d651bfa070bd1407d04e58c8625dcb46404114490007

See more details on using hashes here.

Provenance

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