bilby.gw.conversion¶
A collection of functions to convert between parameters describing gravitational-wave sources.
Functions
|
Convert from Bilby spin parameters to lalsimulation ones. |
Convert total mass and mass ratio of a binary to its component masses. |
|
Convert chirp mass and mass ratio of a binary to its total mass. |
|
Convert chirp mass and mass ratio of a binary to its total mass. |
|
Convert chirp mass and total mass of a binary to its symmetric mass ratio. |
|
Convert from comoving_distance to luminosity_distance |
|
|
Convert from comoving_distance to redshift |
|
Convert the component masses of a binary to its chirp mass. |
|
Convert the component masses of a binary to its chirp mass. |
Convert the component masses of a binary to its symmetric mass ratio. |
|
|
Convert the component masses of a binary to its total mass. |
|
Calculate the log likelihoods in each detector. |
|
Compute the optimal and matched filter snrs of all posterior samples and print it out. |
Convert parameters we have into parameters we need. |
|
Convert parameters we have into parameters we need. |
|
Function that determines if the EoS family contains sufficient number of points before maximum mass is reached. |
|
|
Add parameters with delta function prior to the data frame/dictionary. |
|
|
|
From either a single sample or a set of samples fill in all missing BBH parameters, in place. |
|
From either a single sample or a set of samples fill in all missing BNS parameters, in place. |
|
" |
|
Add the component spins to the data frame/dictionary. |
|
Add the known mass parameters to the data frame/dictionary. |
|
Reconstruct the distance posterior from a run which used a likelihood which explicitly marginalised over time/distance/phase. |
|
|
|
Generate source frame masses along with redshifts and comoving distance. |
|
Generate a specific subset of parameters that can be generated. |
|
Add all spin parameters to the data frame/dictionary. |
|
Generate all tidal parameters |
Convert from individual tidal parameters to second domainant tidal term. |
|
|
Convert from individual tidal parameters to domainant tidal term. |
Convert from dominant tidal terms to individual tidal parameters. |
|
Convert from dominant tidal term to individual tidal parameters assuming lambda_1 * mass_1**5 = lambda_2 * mass_2**5. |
|
Convert from luminosity_distance to comoving_distance |
|
|
Convert from luminosity_distance to redshift |
|
Calculate mass ratio from mass_1 and chirp_mass. |
|
Calculate mass ratio from mass_1 and chirp_mass. |
|
Convert from redshift to comoving_distance |
|
Convert from redshift to luminosity_distance |
Convert the symmetric mass ratio to the normal mass ratio. |
|
Convert total mass and mass ratio of a binary to its component masses. |