A surrogates package to work with redback, the bayesian inference package for electromagnetic transients
Project description
Redback_surrogates
This is an optional package built to be used via Redback or independently. This package contains the data and methods to build/call surrogate models for EM transients using machine learning built on grids of numerical simulations. If your aim is to just evaluate the models you could use this package independently but if you wish to simulate realistic transients or perform inference with these models, use Redback
Redback
Introducing REDBACK, a bayesian inference software package for fitting electromagnetic transients
Online documentation for Redback_surrogates
Online documentation for Redback
Motivation and why redback might be useful to you.
The launch of new telescopes/surveys is leading to an explosion of transient observations. Redback is a software package for end-to-end interpretation and parameter estimation of these transients.
- Download data for supernovae, tidal disruption events, gamma-ray burst afterglows, kilonovae, prompt emission from different catalogs/telescopes; Swift, BATSE, Open access catalogs. Users can also provide their own data or use simulated data
- Redback processes the data into a homogeneous transient object, plotting lightcurves and doing other processing.
- The user can then fit one of the models implemented in redback. Or fit their own model. Models for several different types of electromagnetic transients are implemented and range from simple analytical models to numerical surrogates.
- All models are implemented as functions and can be used to simulate populations, without needing to provide data. This way redback can be used simply as a tool to simulate realistic populations, no need to actually fit anything.
- Bilby under the hood. Can easily switch samplers/likelihoods etc. By default the choice is made depending on the data.
- Fitting returns a homogenous result object, with functionality to plot lightcurves and the posterior/evidence etc.
Contributing
Redback is currently in alpha with a paper in preparation. If you are interested in contributing please join the redback slack and email Nikhil Sarin. All contributors at the alpha stage will be invited to be co-authors of the first paper.
To make changes to redback, we require users to use a merge request system.
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
Built Distribution
File details
Details for the file redback_surrogates-0.2.2.tar.gz
.
File metadata
- Download URL: redback_surrogates-0.2.2.tar.gz
- Upload date:
- Size: 38.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1318d66d95a709d41797003bd3ef3595c2a32b344f2dfd48f3538359d508cb1 |
|
MD5 | fd7ff917b360dca7bdabd36601731661 |
|
BLAKE2b-256 | 8c2ca3f50bdaa93f0202ff136296aa07b44d5578304de0cabe3a87cf70088d7a |
File details
Details for the file redback_surrogates-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: redback_surrogates-0.2.2-py3-none-any.whl
- Upload date:
- Size: 38.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44ae5843db313fd712aa9942e6c590a9078a5e26f7501a702c6e4c89815d98c8 |
|
MD5 | 7067de9c909851c9d1be04b8bd98174b |
|
BLAKE2b-256 | 2e5638826ef0fc22573ff6c7918ea3bb2fc956ee06bc9da59ffade9200eb4bda |