bilby.gw.conversion.spectral_params_to_lambda_1_lambda_2

bilby.gw.conversion.spectral_params_to_lambda_1_lambda_2(gamma_0, gamma_1, gamma_2, gamma_3, mass_1_source, mass_2_source)[source]

Converts from the 4 spectral decomposition parameters and the source masses to the tidal deformability parameters.

Parameters:
gamma_0, gamma_1, gamma_2, gamma_3: float

sampled spectral decomposition parameters

mass_1_source, mass_2_source: float

sampled component mass parameters converted to source frame in solar masses

Returns:
lambda_1, lambda_2: float

component tidal deformability parameters

eos_check: bool
whether or not the equation of state is viable /

if eos_check = False, lambdas are 0 and the sample is rejected.