-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Be more strict about jax version, and change name from fiesta…
… to fiestaEM in src code" This reverts commit 65ce549.
- Loading branch information
1 parent
65ce549
commit 5ba014e
Showing
19 changed files
with
117 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
Metadata-Version: 2.1 | ||
Name: fiesta | ||
Version: 0.0.1 | ||
Summary: Fast inference of electromagnetic signals with JAX | ||
Home-page: https://github.com/thibeauwouters/fiesta | ||
Author: Thibeau Wouters | ||
Author-email: thibeauwouters@gmail.com | ||
License: MIT | ||
Keywords: sampling,inference,astrophysics,kilonovae,gamma-ray bursts | ||
Requires-Python: >=3.10 | ||
Description-Content-Type: text/markdown | ||
License-File: LICENSE | ||
Requires-Dist: jax>=0.4.24 | ||
Requires-Dist: jaxlib>=0.4.24 | ||
Requires-Dist: numpy<2.0.0 | ||
Requires-Dist: pandas<2.0.0 | ||
Requires-Dist: jaxtyping | ||
Requires-Dist: beartype | ||
Requires-Dist: tqdm | ||
Requires-Dist: scipy<=1.14.0 | ||
Requires-Dist: ml_collections | ||
Requires-Dist: astropy | ||
Requires-Dist: sncosmo | ||
Requires-Dist: flowMC | ||
Requires-Dist: joblib | ||
|
||
# fiesta 🎉 | ||
|
||
`fiesta`: **F**ast **I**nference of **E**lectromagnetic **S**ignals and **T**ransients with j**A**x | ||
|
||
![fiesta logo](docs/fiesta_logo.jpeg) | ||
|
||
**NOTE:** `fiesta` is currently under development -- stay tuned! | ||
|
||
## Installation | ||
|
||
pip installation is currently work in progress. Install from source by cloning this Github repository and running | ||
``` | ||
pip install -e . | ||
``` | ||
|
||
NOTE: This is using an older and custom version of `flowMC`. Install by cloning the `flowMC` version at [this fork](https://github.com/ThibeauWouters/flowMC/tree/fiesta) (branch `fiesta`). | ||
|
||
## Training surrogate models | ||
|
||
To train your own surrogate models, have a look at some of the example scripts in the repository for inspiration, under `trained_models` | ||
|
||
- `train_Bu2019lm.py`: Example script showing how to train a surrogate model for the POSSIS `Bu2019lm` kilonova model. | ||
- `train_afterglowpy_tophat.py`: Example script showing how to train a surrogate model for `afterglowpy`, using a tophat jet structure. | ||
|
||
## Examples | ||
|
||
- `run_AT2017gfo_Bu2019lm.py`: Example where we infer the parameters of the AT2017gfo kilonova with the `Bu2019lm` model. | ||
- `run_GRB170817_tophat.py`: Example where we infer the parameters of the GRB170817 GRB with a surrogate model for `afterglowpy`'s tophat jet. **NOTE** This currently only uses one specific filter. The complete inference will be updated soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
LICENSE | ||
README.md | ||
pyproject.toml | ||
setup.cfg | ||
src/fiesta.egg-info/PKG-INFO | ||
src/fiesta.egg-info/SOURCES.txt | ||
src/fiesta.egg-info/dependency_links.txt | ||
src/fiesta.egg-info/requires.txt | ||
src/fiesta.egg-info/top_level.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
jax>=0.4.24 | ||
jaxlib>=0.4.24 | ||
numpy<2.0.0 | ||
pandas<2.0.0 | ||
jaxtyping | ||
beartype | ||
tqdm | ||
scipy<=1.14.0 | ||
ml_collections | ||
astropy | ||
sncosmo | ||
flowMC | ||
joblib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
src/fiestaEM/train/Benchmarker.py → src/fiesta/train/Benchmarker.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.