Skip to main content

Fast inference of electromagnetic signals with JAX

Project description

fiesta 🎉

fiesta: Fast Inference of Electromagnetic Signals and Transients with jAx

fiesta logo

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 (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.

Acknowledgements

The logo was created by ideogram AI.

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

fiestaem-0.0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

fiestaEM-0.0.1-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page