fiestaEM 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fiestaem-0.0.1/LICENSE +21 -0
- fiestaem-0.0.1/PKG-INFO +58 -0
- fiestaem-0.0.1/README.md +32 -0
- fiestaem-0.0.1/pyproject.toml +6 -0
- fiestaem-0.0.1/setup.cfg +39 -0
- fiestaem-0.0.1/src/fiestaEM.egg-info/PKG-INFO +58 -0
- fiestaem-0.0.1/src/fiestaEM.egg-info/SOURCES.txt +9 -0
- fiestaem-0.0.1/src/fiestaEM.egg-info/dependency_links.txt +1 -0
- fiestaem-0.0.1/src/fiestaEM.egg-info/requires.txt +13 -0
- fiestaem-0.0.1/src/fiestaEM.egg-info/top_level.txt +1 -0
fiestaem-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Thibeau Wouters
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
fiestaem-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: fiestaEM
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Fast inference of electromagnetic signals with JAX
|
|
5
|
+
Home-page: https://github.com/ThibeauWouters/fiestaEM
|
|
6
|
+
Author: Thibeau Wouters
|
|
7
|
+
Author-email: thibeauwouters@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: sampling,inference,astrophysics,kilonovae,gamma-ray bursts
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: jax>=0.4.24
|
|
14
|
+
Requires-Dist: jaxlib>=0.4.24
|
|
15
|
+
Requires-Dist: numpy<2.0.0
|
|
16
|
+
Requires-Dist: pandas<2.0.0
|
|
17
|
+
Requires-Dist: jaxtyping
|
|
18
|
+
Requires-Dist: beartype
|
|
19
|
+
Requires-Dist: tqdm
|
|
20
|
+
Requires-Dist: scipy<=1.14.0
|
|
21
|
+
Requires-Dist: ml_collections
|
|
22
|
+
Requires-Dist: astropy
|
|
23
|
+
Requires-Dist: sncosmo
|
|
24
|
+
Requires-Dist: flowMC
|
|
25
|
+
Requires-Dist: joblib
|
|
26
|
+
|
|
27
|
+
# fiesta 🎉
|
|
28
|
+
|
|
29
|
+
`fiesta`: **F**ast **I**nference of **E**lectromagnetic **S**ignals and **T**ransients with j**A**x
|
|
30
|
+
|
|
31
|
+

|
|
32
|
+
|
|
33
|
+
**NOTE:** `fiesta` is currently under development -- stay tuned!
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
pip installation is currently work in progress. Install from source by cloning this Github repository and running
|
|
38
|
+
```
|
|
39
|
+
pip install -e .
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
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`).
|
|
43
|
+
|
|
44
|
+
## Training surrogate models
|
|
45
|
+
|
|
46
|
+
To train your own surrogate models, have a look at some of the example scripts in the repository for inspiration, under `trained_models`
|
|
47
|
+
|
|
48
|
+
- `train_Bu2019lm.py`: Example script showing how to train a surrogate model for the POSSIS `Bu2019lm` kilonova model.
|
|
49
|
+
- `train_afterglowpy_tophat.py`: Example script showing how to train a surrogate model for `afterglowpy`, using a tophat jet structure.
|
|
50
|
+
|
|
51
|
+
## Examples
|
|
52
|
+
|
|
53
|
+
- `run_AT2017gfo_Bu2019lm.py`: Example where we infer the parameters of the AT2017gfo kilonova with the `Bu2019lm` model.
|
|
54
|
+
- `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.
|
|
55
|
+
|
|
56
|
+
## Acknowledgements
|
|
57
|
+
|
|
58
|
+
The logo was created by [ideogram AI](https://ideogram.ai/).
|
fiestaem-0.0.1/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# fiesta 🎉
|
|
2
|
+
|
|
3
|
+
`fiesta`: **F**ast **I**nference of **E**lectromagnetic **S**ignals and **T**ransients with j**A**x
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+
|
|
7
|
+
**NOTE:** `fiesta` is currently under development -- stay tuned!
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
pip installation is currently work in progress. Install from source by cloning this Github repository and running
|
|
12
|
+
```
|
|
13
|
+
pip install -e .
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
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`).
|
|
17
|
+
|
|
18
|
+
## Training surrogate models
|
|
19
|
+
|
|
20
|
+
To train your own surrogate models, have a look at some of the example scripts in the repository for inspiration, under `trained_models`
|
|
21
|
+
|
|
22
|
+
- `train_Bu2019lm.py`: Example script showing how to train a surrogate model for the POSSIS `Bu2019lm` kilonova model.
|
|
23
|
+
- `train_afterglowpy_tophat.py`: Example script showing how to train a surrogate model for `afterglowpy`, using a tophat jet structure.
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
|
|
27
|
+
- `run_AT2017gfo_Bu2019lm.py`: Example where we infer the parameters of the AT2017gfo kilonova with the `Bu2019lm` model.
|
|
28
|
+
- `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.
|
|
29
|
+
|
|
30
|
+
## Acknowledgements
|
|
31
|
+
|
|
32
|
+
The logo was created by [ideogram AI](https://ideogram.ai/).
|
fiestaem-0.0.1/setup.cfg
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[metadata]
|
|
2
|
+
name = fiestaEM
|
|
3
|
+
version = 0.0.1
|
|
4
|
+
author = Thibeau Wouters
|
|
5
|
+
author_email = thibeauwouters@gmail.com
|
|
6
|
+
url = https://github.com/ThibeauWouters/fiestaEM
|
|
7
|
+
description = Fast inference of electromagnetic signals with JAX
|
|
8
|
+
long_description = file: README.md
|
|
9
|
+
long_description_content_type = text/markdown
|
|
10
|
+
keywords = sampling, inference, astrophysics, kilonovae, gamma-ray bursts
|
|
11
|
+
license = MIT
|
|
12
|
+
|
|
13
|
+
[options]
|
|
14
|
+
packages_dir =
|
|
15
|
+
=src
|
|
16
|
+
packages = find:
|
|
17
|
+
install_requires =
|
|
18
|
+
jax>=0.4.24
|
|
19
|
+
jaxlib>=0.4.24
|
|
20
|
+
numpy<2.0.0
|
|
21
|
+
pandas<2.0.0
|
|
22
|
+
jaxtyping
|
|
23
|
+
beartype
|
|
24
|
+
tqdm
|
|
25
|
+
scipy<=1.14.0
|
|
26
|
+
ml_collections
|
|
27
|
+
astropy
|
|
28
|
+
sncosmo
|
|
29
|
+
flowMC
|
|
30
|
+
joblib
|
|
31
|
+
python_requires = >=3.10
|
|
32
|
+
|
|
33
|
+
[options.packages.find]
|
|
34
|
+
where = src
|
|
35
|
+
|
|
36
|
+
[egg_info]
|
|
37
|
+
tag_build =
|
|
38
|
+
tag_date = 0
|
|
39
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: fiestaEM
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Fast inference of electromagnetic signals with JAX
|
|
5
|
+
Home-page: https://github.com/ThibeauWouters/fiestaEM
|
|
6
|
+
Author: Thibeau Wouters
|
|
7
|
+
Author-email: thibeauwouters@gmail.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Keywords: sampling,inference,astrophysics,kilonovae,gamma-ray bursts
|
|
10
|
+
Requires-Python: >=3.10
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: jax>=0.4.24
|
|
14
|
+
Requires-Dist: jaxlib>=0.4.24
|
|
15
|
+
Requires-Dist: numpy<2.0.0
|
|
16
|
+
Requires-Dist: pandas<2.0.0
|
|
17
|
+
Requires-Dist: jaxtyping
|
|
18
|
+
Requires-Dist: beartype
|
|
19
|
+
Requires-Dist: tqdm
|
|
20
|
+
Requires-Dist: scipy<=1.14.0
|
|
21
|
+
Requires-Dist: ml_collections
|
|
22
|
+
Requires-Dist: astropy
|
|
23
|
+
Requires-Dist: sncosmo
|
|
24
|
+
Requires-Dist: flowMC
|
|
25
|
+
Requires-Dist: joblib
|
|
26
|
+
|
|
27
|
+
# fiesta 🎉
|
|
28
|
+
|
|
29
|
+
`fiesta`: **F**ast **I**nference of **E**lectromagnetic **S**ignals and **T**ransients with j**A**x
|
|
30
|
+
|
|
31
|
+

|
|
32
|
+
|
|
33
|
+
**NOTE:** `fiesta` is currently under development -- stay tuned!
|
|
34
|
+
|
|
35
|
+
## Installation
|
|
36
|
+
|
|
37
|
+
pip installation is currently work in progress. Install from source by cloning this Github repository and running
|
|
38
|
+
```
|
|
39
|
+
pip install -e .
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
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`).
|
|
43
|
+
|
|
44
|
+
## Training surrogate models
|
|
45
|
+
|
|
46
|
+
To train your own surrogate models, have a look at some of the example scripts in the repository for inspiration, under `trained_models`
|
|
47
|
+
|
|
48
|
+
- `train_Bu2019lm.py`: Example script showing how to train a surrogate model for the POSSIS `Bu2019lm` kilonova model.
|
|
49
|
+
- `train_afterglowpy_tophat.py`: Example script showing how to train a surrogate model for `afterglowpy`, using a tophat jet structure.
|
|
50
|
+
|
|
51
|
+
## Examples
|
|
52
|
+
|
|
53
|
+
- `run_AT2017gfo_Bu2019lm.py`: Example where we infer the parameters of the AT2017gfo kilonova with the `Bu2019lm` model.
|
|
54
|
+
- `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.
|
|
55
|
+
|
|
56
|
+
## Acknowledgements
|
|
57
|
+
|
|
58
|
+
The logo was created by [ideogram AI](https://ideogram.ai/).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|