bilby.gw.conversion.binary_love_lambda_symmetric_to_lambda_1_lambda_2_automatic_marginalisation

bilby.gw.conversion.binary_love_lambda_symmetric_to_lambda_1_lambda_2_automatic_marginalisation(lambda_symmetric, mass_ratio)[source]

Convert from symmetric tidal terms to lambda_1 and lambda_2 using BinaryLove relations

See Yagi & Yunes, https://arxiv.org/abs/1512.02639 and Chatziioannou, Haster, Zimmerman, https://arxiv.org/abs/1804.03221

This function will use the implementation from the CHZ paper, which marginalises over the uncertainties in the BinaryLove fits. This is also implemented in LALInference through the function LALInferenceBinaryLove.

This function should be used when the BinaryLove marginalisation wasn’t explicitly active in the sampling stage. It will draw a random number in U[0,1] here instead.

Parameters:
lambda_symmetric: float

Symmetric tidal parameter.

mass_ratio: float

Mass ratio (mass_2/mass_1, with mass_2 < mass_1) of the binary

Returns
======
lambda_1: float

Tidal parameter of more massive neutron star.

lambda_2: float

Tidal parameter of less massive neutron star.