redback

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

https://github.com/nikhil-sarin/redback

Science Score: 46.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Committers with academic emails
    2 of 5 committers (40.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.9%) to scientific vocabulary

Keywords

astronomy gamma-ray-bursts kilonovae multi-messenger spectrum-analyzer supernovae tidal-disruptions timedomainastronomy transients
Last synced: 7 months ago · JSON representation

Repository

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

Basic Info
  • Host: GitHub
  • Owner: nikhil-sarin
  • License: gpl-3.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 171 MB
Statistics
  • Stars: 61
  • Watchers: 4
  • Forks: 26
  • Open Issues: 1
  • Releases: 8
Topics
astronomy gamma-ray-bursts kilonovae multi-messenger spectrum-analyzer supernovae tidal-disruptions timedomainastronomy transients
Created almost 7 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog Contributing Citation

README.md

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, 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.

Owner

  • Name: Nikhil Sarin
  • Login: nikhil-sarin
  • Kind: user
  • Location: Stockholm, Sweden

Nordita Fellow at Nordita Institute and Stockholm University

GitHub Events

Total
  • Create event: 24
  • Release event: 3
  • Issues event: 18
  • Watch event: 14
  • Delete event: 25
  • Issue comment event: 37
  • Push event: 103
  • Pull request review comment event: 4
  • Pull request event: 65
  • Pull request review event: 10
  • Fork event: 3
Last Year
  • Create event: 24
  • Release event: 3
  • Issues event: 18
  • Watch event: 14
  • Delete event: 25
  • Issue comment event: 37
  • Push event: 103
  • Pull request review comment event: 4
  • Pull request event: 65
  • Pull request review event: 10
  • Fork event: 3

Committers

Last synced: about 3 years ago

All Time
  • Total Commits: 988
  • Total Committers: 5
  • Avg Commits per committer: 197.6
  • Development Distribution Score (DDS): 0.56
Top Committers
Name Email Commits
Moritz Huebner e****l@m****e 435
Nikhil Sarin n****n@m****u 356
Nikhil Sarin n****o@g****m 162
Nikhil Sarin n****n@l****g 33
Nikhil Sarin 4****n@u****m 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 35
  • Total pull requests: 188
  • Average time to close issues: 6 months
  • Average time to close pull requests: 19 days
  • Total issue authors: 20
  • Total pull request authors: 16
  • Average comments per issue: 1.8
  • Average comments per pull request: 0.16
  • Merged pull requests: 162
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 9
  • Pull requests: 35
  • Average time to close issues: 29 days
  • Average time to close pull requests: 8 days
  • Issue authors: 7
  • Pull request authors: 6
  • Average comments per issue: 1.22
  • Average comments per pull request: 0.23
  • Merged pull requests: 24
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nikhil-sarin (10)
  • MoritzThomasHuebner (4)
  • GPLamb (3)
  • robertdstein (2)
  • AntoniaR (2)
  • jeremykubica (1)
  • opyshna (1)
  • crixiii (1)
  • DavidJLaw (1)
  • HeloiseS (1)
  • corbettht (1)
  • steveschulze (1)
  • nvieira-mcgill (1)
  • ZacharyLane1204 (1)
  • vlad2305m (1)
Pull Request Authors
  • nikhil-sarin (109)
  • MoritzThomasHuebner (54)
  • conoromand (16)
  • wfw23 (10)
  • Xiaofei13 (6)
  • shanikagalaudage (5)
  • robertdstein (4)
  • GPLamb (3)
  • steveschulze (3)
  • dpieterse (2)
  • DavidJLaw (2)
  • cairnsturnbull (2)
  • cnsetzer (1)
  • nevencaplar (1)
  • JulienPeloton (1)
Top Labels
Issue Labels
bug (2)
Pull Request Labels
enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 102 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 14
  • Total maintainers: 1
pypi.org: redback

A Bayesian inference and modelling pipeline for electromagnetic transients

  • Versions: 14
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 102 Last month
Rankings
Forks count: 9.8%
Dependent packages count: 10.1%
Stargazers count: 11.9%
Average: 16.7%
Dependent repos count: 21.6%
Downloads: 30.3%
Maintainers (1)
Last synced: 7 months ago

Dependencies

optional_requirements.txt pypi
  • PyQt5 *
  • gwemlightcurves *
  • nestle *
  • sherpa *
  • sncosmo *
requirements.txt pypi
  • afterglowpy *
  • astropy *
  • bilby *
  • extinction *
  • kilonova-heating-rate *
  • lalsuite *
  • lxml *
  • matplotlib *
  • numpy *
  • pandas *
  • requests *
  • scipy *
  • selenium ==3.8.0
  • setuptools *
  • sphinx-rtd-theme *
  • sphinx-tabs *
.github/workflows/python-app.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v3 composite