Skip to main content

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

Documentation Status Python package Coverage Status PyPI

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

If you are interested in contributing please join the redback slack and email Nikhil Sarin.

To make changes to redback, we require users to use pull requests.

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

redback_surrogates-0.2.5.tar.gz (38.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redback_surrogates-0.2.5-py3-none-any.whl (38.9 MB view details)

Uploaded Python 3

File details

Details for the file redback_surrogates-0.2.5.tar.gz.

File metadata

  • Download URL: redback_surrogates-0.2.5.tar.gz
  • Upload date:
  • Size: 38.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.7

File hashes

Hashes for redback_surrogates-0.2.5.tar.gz
Algorithm Hash digest
SHA256 90e5f0a9918fc43780529bce258f330c4f3eb0515ea5d0675be12bb6aa477397
MD5 00afb7f0522c23227ef16aad91f2aa43
BLAKE2b-256 5017f8fc67aaf9e886ceaaeba7640323496e248781fc57fa90e83245813421e8

See more details on using hashes here.

File details

Details for the file redback_surrogates-0.2.5-py3-none-any.whl.

File metadata

File hashes

Hashes for redback_surrogates-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b2bb7ad015521a2e10775de06eeae0185862a19d3f7ff9c08f876ae68b6ff220
MD5 06c9a663dd0c8a10904e0f9e09e78285
BLAKE2b-256 b3aab9fde29ade4ae8ff68afb5c9c20f636ac246b446eba721fa24aaf131cc5c

See more details on using hashes here.

Supported by

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