Skip to main content

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.

Metadata

Release files for redback-surrogates 0.2.8

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-surrogates 0.2.8
File Size Uploaded Provenance Actions
redback_surrogates-0.2.8.tar.gz 38.9 MB With provenance Details for redback_surrogates-0.2.8.tar.gz

Built distribution (wheel)

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

Total release size: 77.9 MB

Release files / redback_surrogates-0.2.8.tar.gz

Download URL redback_surrogates-0.2.8.tar.gz
Size 38.9 MB
Tags Source
SHA-256 checksum
How to use checksums
e0ba7433b9872952e47b1c0e8bb1b47dffec8037d2569de24b5c8cb6454907cd
BLAKE2b-256 checksum
How to use checksums
b375663a06c1e3e66e42663754f6fc95c19c5e51479b57985c1d931be0e6d2ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 30, 2026.

Transparency log

Release files / redback_surrogates-0.2.8-py3-none-any.whl

Download URL redback_surrogates-0.2.8-py3-none-any.whl
Size 39.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8b3c4ab8077a9ee424b457dc89d4317a14d08b1b645fcde2a68ad7d1654c51ef
BLAKE2b-256 checksum
How to use checksums
e19830ab954a1bd1008339347564ce5bdb92431329152d3ebb5e7a91075d0339
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 30, 2026.

Transparency log

Security for redback-surrogates 0.2.8

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_surrogates-0.2.8.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 Mar 30, 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