A lightweight JAX-only version of redback for electromagnetic transient analysis
Project description
Redback-JAX
A lightweight JAX-only version of the redback electromagnetic transient analysis package.
Overview
Redback-JAX provides JAX-based implementations for electromagnetic transient modeling and Bayesian inference, focusing on performance and automatic differentiation capabilities. This package is designed to be a lightweight alternative to the full redback package, leveraging JAX for fast computation and gradient-based inference.
Features
- JAX-based models: Fast, differentiable implementations of electromagnetic transient models
- Bayesian inference: Integration with modern probabilistic programming libraries
- Automatic differentiation: Gradient-based optimization and sampling
- GPU/TPU support: Leverage JAX's hardware acceleration capabilities
Installation
From PyPI (when available)
pip install redback-jax
From source
git clone https://github.com/nikhil-sarin/redback-jax.git
cd redback-jax
pip install -e .
With optional dependencies
pip install redback-jax[all]
Quick Start
import redback_jax
# Example usage will be added as the package develops
Dependencies
Core dependencies:
- JAX (>= 0.4.0)
- NumPy (>= 1.20.0)
- SciPy (>= 1.7.0)
- Pandas (>= 1.3.0)
- Matplotlib (>= 3.5.0)
- Astropy (>= 4.0.0)
Optional dependencies (install with [all]):
- NumPyro (>= 0.12.0)
- BlackJAX (>= 1.0.0)
- Optax (>= 0.1.0)
Contributing
Contributions are welcome! Please see the contributing guidelines in the main redback repository for details.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Acknowledgments
This package is based on the original redback package. Please cite the original redback paper if you use this software in your research.
Related Projects
Project details
Release history Release notifications | RSS feed
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 redback_jax-0.1.0.tar.gz.
File metadata
- Download URL: redback_jax-0.1.0.tar.gz
- Upload date:
- Size: 18.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dbcb0f47979b62c00c4f6456f6c96f89be7f1f9833f40f0dc740620a4ddb61d
|
|
| MD5 |
eff80b18433bafe879ccd22ada49d13b
|
|
| BLAKE2b-256 |
7aab484519ad38aa0bddffa84e504f8e07233a65aca40bea40d435d2e096c02c
|
Provenance
The following attestation bundles were made for redback_jax-0.1.0.tar.gz:
Publisher:
publish.yml on nikhil-sarin/redback-jax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
redback_jax-0.1.0.tar.gz -
Subject digest:
6dbcb0f47979b62c00c4f6456f6c96f89be7f1f9833f40f0dc740620a4ddb61d - Sigstore transparency entry: 537396650
- Sigstore integration time:
-
Permalink:
nikhil-sarin/redback-jax@98d3063d4e1ca822925dd24c7546511e5af0c6fe -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/nikhil-sarin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@98d3063d4e1ca822925dd24c7546511e5af0c6fe -
Trigger Event:
release
-
Statement type:
File details
Details for the file redback_jax-0.1.0-py3-none-any.whl.
File metadata
- Download URL: redback_jax-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.0 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 |
e070f07efac82546634724fec00ee19935eb89a5bd895ae710843668a3b586f0
|
|
| MD5 |
979d2b276f4dfb4f1d16daec535ab6bc
|
|
| BLAKE2b-256 |
792736cd1f0d930b8d17c688ee8bfca081b4b6ec7a4cb453f77077faddaa827d
|
Provenance
The following attestation bundles were made for redback_jax-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on nikhil-sarin/redback-jax
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
redback_jax-0.1.0-py3-none-any.whl -
Subject digest:
e070f07efac82546634724fec00ee19935eb89a5bd895ae710843668a3b586f0 - Sigstore transparency entry: 537396677
- Sigstore integration time:
-
Permalink:
nikhil-sarin/redback-jax@98d3063d4e1ca822925dd24c7546511e5af0c6fe -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/nikhil-sarin
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@98d3063d4e1ca822925dd24c7546511e5af0c6fe -
Trigger Event:
release
-
Statement type: