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:
- Fork the repository.
- Create a feature branch:
git checkout -b feature-branch
- Commit your changes and push to your fork.
- 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44560720ebd3ea4ef8db0e302edd8f2362104dcd80b4e0608a70b54258de0f9f
|
|
| MD5 |
d370409b3689c2cd120811a75b01e1a8
|
|
| BLAKE2b-256 |
37588d78902b8eac2414a4d1d3c291229e60e36ddf617dc0e4278f7861e8edea
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grater_jax-0.2.1.tar.gz -
Subject digest:
44560720ebd3ea4ef8db0e302edd8f2362104dcd80b4e0608a70b54258de0f9f - Sigstore transparency entry: 652976836
- Sigstore integration time:
-
Permalink:
UCSB-Exoplanet-Polarimetry-Lab/GRaTeR-JAX@c7e0561bbc99bbb162e4b8e7e825a1f656da902f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/UCSB-Exoplanet-Polarimetry-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c7e0561bbc99bbb162e4b8e7e825a1f656da902f -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b303a5e14598536f68af49c729060413647c18735efccce49a6e9eede115e15
|
|
| MD5 |
97ad12e49aaebe179a1090bb7a5b07db
|
|
| BLAKE2b-256 |
1d073b0c71cc7574485b4a9b5b8e570d058634be16caea63afdeb1a907db9e41
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grater_jax-0.2.1-py3-none-any.whl -
Subject digest:
0b303a5e14598536f68af49c729060413647c18735efccce49a6e9eede115e15 - Sigstore transparency entry: 652976840
- Sigstore integration time:
-
Permalink:
UCSB-Exoplanet-Polarimetry-Lab/GRaTeR-JAX@c7e0561bbc99bbb162e4b8e7e825a1f656da902f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/UCSB-Exoplanet-Polarimetry-Lab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c7e0561bbc99bbb162e4b8e7e825a1f656da902f -
Trigger Event:
release
-
Statement type: