Skip to main content

A Bayesian inference and modelling pipeline for electromagnetic transients

Project description

Documentation Status Python package Coverage Status PyPI arXiv

Redback

Introducing REDBACK, A software package for end-to-end modelling, fitting, and interpretation of electromagnetic transients via Bayesian Inference

Online documentation

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 modelling, 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, OTTER, FINK and LASAIR brokers. Users can also provide their own data or use simulated data
  • Redback processes the data into a homogeneous transient object. Making it easy to plot lightcurves and do any other processing e.g., estimating bolometric luminosities or blackbody properties.
  • 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.
  • Simulate realistic transient lightcurves for Rubin LSST Survey using the latest cadence tables and for ZTF. Or make your own survey. Simulate single transients or populations or simulate a full survey including non-detections and realistic cadences and noise.
  • Redback uses Bilby under the hood for sampling. 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 fitted lightcurves and the posterior/evidence. Or importance sample 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 a merge request system.

User/Dev calls

We have regular calls for users and developers. These include tutorials on specific redback functionality as well as discussions of new features/feature requests, and Q/A. Please join the slack to get details of these calls.

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-1.15.2.tar.gz (90.2 MB view details)

Uploaded Source

Built Distribution

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

redback-1.15.2-py3-none-any.whl (90.5 MB view details)

Uploaded Python 3

File details

Details for the file redback-1.15.2.tar.gz.

File metadata

  • Download URL: redback-1.15.2.tar.gz
  • Upload date:
  • Size: 90.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redback-1.15.2.tar.gz
Algorithm Hash digest
SHA256 65f8c0f29b4c2e2d2ab5fe5840e81ff57d0f085ceaf05e9f07e2185496fa50e3
MD5 65ebf445ad62008e873811866e7ee965
BLAKE2b-256 ea496de8539187d42c6312b5ad327eb23bd8e59cb6d06a6de70db6ed9f161ca8

See more details on using hashes here.

Provenance

The following attestation bundles were made for redback-1.15.2.tar.gz:

Publisher: pypi-publish.yml on nikhil-sarin/redback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file redback-1.15.2-py3-none-any.whl.

File metadata

  • Download URL: redback-1.15.2-py3-none-any.whl
  • Upload date:
  • Size: 90.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for redback-1.15.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fec6d4e8012af4b540503c3000a3018220bbae29986b4704be0fd92c4c83280b
MD5 08cc716f1b3cbbabce9079e4abb04c56
BLAKE2b-256 fe37c0cea7c32fa553beb92c2804421f2d7cb4a594dd324f56c7a148577956fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for redback-1.15.2-py3-none-any.whl:

Publisher: pypi-publish.yml on nikhil-sarin/redback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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