Skip to main content

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.

Metadata

Release files for redback 1.21.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redback 1.21.0
File Size Uploaded Provenance Actions
redback-1.21.0.tar.gz 91.1 MB With provenance Details for redback-1.21.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for redback 1.21.0
File Interpreter ABI Platform Actions
redback-1.21.0-py3-none-any.whl Python 3 none any Details for redback-1.21.0-py3-none-any.whl

Total release size: 182.4 MB

Release files / redback-1.21.0.tar.gz

Download URL redback-1.21.0.tar.gz
Size 91.1 MB
Tags Source
SHA-256 checksum
How to use checksums
51314cba20d0b56315237099a8e319678131d5ec1d3eb8b4fac2278426c0be54
BLAKE2b-256 checksum
How to use checksums
8e76abcdf35f1326c6f3734004cdef48c76cd8386d0d51958255bc271626d5f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / redback-1.21.0-py3-none-any.whl

Download URL redback-1.21.0-py3-none-any.whl
Size 91.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
fd2644cb778bc2efa746d76d30572885709cf5f7441163e0f93bb98e6bed4487
BLAKE2b-256 checksum
How to use checksums
f259aa515b9304e5613f3b53e1c3c207b92191c971b5ec941fbdf8384b2f0abb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for redback 1.21.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for redback-1.21.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page