REDBACK
Contents:
Installation
Code motivation
Basics of Bayesian inference and parameter estimation
Likelihood
Priors
Get data
Transients
Models
Simulation
Making changes to models and plotting using dependency injections
Plotting
Analysis
Spectral Template Matching
Spectral Line Profile Models
X-ray and Gamma-ray Spectral Fitting
Fitting
Results
Joint likelihood
Multi-Messenger Analysis
Examples
Acknowledgement/Citations
Contributing
API:
redback.get_data
redback.priors
redback.plotting
redback.eos
redback.constraints
redback.analysis
redback.ejecta_relations
redback.ejecta_relations.calc_baryonic_mass
redback.ejecta_relations.calc_baryonic_mass_eos_insensitive
redback.ejecta_relations.calc_compactness
calc_compactness()
redback.ejecta_relations.calc_compactness_from_lambda
redback.ejecta_relations.calc_vrho
redback.ejecta_relations.calc_vz
redback.ejecta_relations.OneComponentBNSNoProjection
redback.ejecta_relations.OneComponentBNSProjection
redback.ejecta_relations.OneComponentNSBH
redback.ejecta_relations.TwoComponentBNS
redback.ejecta_relations.TwoComponentNSBH
redback.interaction_processes
redback.utils
redback.transient
redback.transient_models
redback.sampler
redback.result
redback.sed
redback.simulate_transients
redback.photosphere
redback.likelihoods
redback.multimessenger
REDBACK
redback.ejecta_relations
redback.ejecta_relations.calc_compactness
View page source
redback.ejecta_relations.calc_compactness
redback.ejecta_relations.
calc_compactness
(
mass
,
radius
)
[source]
Parameters
:
mass
– in solar masses
radius
– in meters
Returns
:
compactness