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 from symmetric tidal terms and mass ratio to antisymmetric tidal terms using BinaryLove relations. |
|
Convert from symmetric tidal terms to lambda_1 and lambda_2 using BinaryLove relations |
|
Convert from symmetric tidal terms to lambda_1 and lambda_2 using BinaryLove relations |
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 antisymmetric tidal term. |
|
Convert from individual tidal parameters to symmetric tidal term. |
|
|
Convert from individual tidal parameters to domainant tidal term. |
|
Convert from equation of state model parameters to component tidal parameters. |
Convert from symmetric and antisymmetric tidal terms to lambda_1 |
|
|
Convert from symmetric and antisymmetric tidal terms to lambda_1 and lambda_2 |
Convert from symmetric and antisymmetric tidal terms to lambda_2 |
|
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. |
|
Converts the reparameterization joining pressures from |
|
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. |
|
Takes in a lalsim eos object. |
Converts parameters from sampled dynamic piecewise polytrope parameters |
|
|
Convert from redshift to comoving_distance |
|
Convert from redshift to luminosity_distance |
Converts from the 4 spectral decomposition parameters and the source masses to the tidal deformability parameters. |
|
|
Change of basis on parameter space |
Convert the symmetric mass ratio to the normal mass ratio. |
|
Convert total mass and mass ratio of a binary to its component masses. |