bilby.gw.conversion.neutron_star_family_physical_check

bilby.gw.conversion.neutron_star_family_physical_check(eos, mass_1_source, mass_2_source)[source]

Takes in a lalsim eos object. Performs causal and max/min mass eos checks. Calculates component lambdas if eos object passes causality. Returns lambda = 0 if not.

Parameters:
eos: lalsim swig-wrapped eos object

the neutron star equation of state

mass_1_source, mass_2_source: float

source frame component masses 1 and 2 in solar masses

Returns:
lambda_1, lambda_2: float

component tidal deformability parameters

eos_check: bool

whether or not the equation of state is physically allowed