Probabilistic models for exoplanet inference in JAX
Project description
jaxoplanet
Astronomical time series analysis with JAX
jaxoplanet is a functional-programming-forward implementation of many features from the exoplanet and starry packages built on top of JAX.
jaxoplanet includes fast and robust implementations of many exoplanet-specific operations, including solving Kepler's equation, and computing limb-darkened light curves. Since jaxoplanet is built on top of JAX it has first-class support for hardware acceleration using GPUs and TPUs, and it also integrates seamlessly with modeling tools like NumPyro, and Flax.
For the most complete documentation, check out the documentation page at jax.exoplanet.codes.
Installation
You'll first need to install JAX following the instructions in the JAX docs. For example, to install the CPU version of JAX, you can run:
python -m pip install "jax[cpu]"
Then install jaxoplanet with:
python -m pip install jaxoplanet
If you run into issues with installing jaxoplanet, specifically on ARM (i.e., M series chips) Macs, take a look at the
installation instructions.
:class: tip
💽 After [installing](doc:install) `jaxoplanet`, head over to the [Quickstart](quickstart) page to see some of its features.
🚩 If you're running into some problems with `jaxoplanet`, check out the [common issues](doc:commonissues) page for some general tips and tricks.
⚡ In the [Tutorials](tutorials) section we've added a few tutorials showcasing some common astronomy problems where `jaxoplanet` might come in handy!
🖥️ Take a look [here](doc:api) to see a user-friendly API reference for commonly used objects. The full API reference is also available!
Attribution
While we don't yet have a citation for jaxoplanet, please reference the GitHub
repository if you find this code useful in your research. The BibTeX entry for
the repo is:
@software{jaxoplanet,
author = {Soichiro Hattori and
Lionel Garcia and
Catriona Murray and
Jiayin Dong and
Shashank Dholakia and
David Degen and
Daniel Foreman-Mackey},
title = {{exoplanet-dev/jaxoplanet: Astronomical time series analysis with JAX}},
month = mar,
year = 2024,
publisher = {Zenodo},
version = {v0.0.2},
doi = {10.5281/zenodo.10736936},
url = {https://doi.org/10.5281/zenodo.10736936}
}
License
Copyright (c) 2021-2024 Simons Foundation, Inc.
jaxoplanet is free software made available under the MIT License. For details
see the LICENSE file.
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 jaxoplanet-0.1.0.tar.gz.
File metadata
- Download URL: jaxoplanet-0.1.0.tar.gz
- Upload date:
- Size: 227.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3517388c191622721e339e14e48907c54652f8f920f3f737e3a471f828ee1057
|
|
| MD5 |
ae80cf339617caaa7bdb090171faa1a2
|
|
| BLAKE2b-256 |
61183360617e4a47aed3cbdf00e362e31e1ef371630ed5c520bf9262d62d07f3
|
Provenance
The following attestation bundles were made for jaxoplanet-0.1.0.tar.gz:
Publisher:
tests.yml on exoplanet-dev/jaxoplanet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jaxoplanet-0.1.0.tar.gz -
Subject digest:
3517388c191622721e339e14e48907c54652f8f920f3f737e3a471f828ee1057 - Sigstore transparency entry: 208618298
- Sigstore integration time:
-
Permalink:
exoplanet-dev/jaxoplanet@8a3439cbe5028663757108a1d24b7ca32b85cedd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/exoplanet-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@8a3439cbe5028663757108a1d24b7ca32b85cedd -
Trigger Event:
push
-
Statement type:
File details
Details for the file jaxoplanet-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jaxoplanet-0.1.0-py3-none-any.whl
- Upload date:
- Size: 75.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31a3efc4ab492860e056de3acb5dfd3457a36839b6d1154c68c6ead1c8106b8f
|
|
| MD5 |
6ca29e95b8065e61e332767025e55c18
|
|
| BLAKE2b-256 |
0a6e2c8dfee61b0737ee3fdef46deba952a481a6cb11bdc92815d9473cc8a419
|
Provenance
The following attestation bundles were made for jaxoplanet-0.1.0-py3-none-any.whl:
Publisher:
tests.yml on exoplanet-dev/jaxoplanet
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jaxoplanet-0.1.0-py3-none-any.whl -
Subject digest:
31a3efc4ab492860e056de3acb5dfd3457a36839b6d1154c68c6ead1c8106b8f - Sigstore transparency entry: 208618299
- Sigstore integration time:
-
Permalink:
exoplanet-dev/jaxoplanet@8a3439cbe5028663757108a1d24b7ca32b85cedd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/exoplanet-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
tests.yml@8a3439cbe5028663757108a1d24b7ca32b85cedd -
Trigger Event:
push
-
Statement type: