kilopop.population_priors.draw_masses_from_EOS_bounds_with_mass_ratio_cut
- kilopop.population_priors.draw_masses_from_EOS_bounds_with_mass_ratio_cut(maximum_mass_bound, mass_lower_bound=1.0, mass_ratio_cut=0.4, output_shape=None)[source]
Draw neutron star component mass in the source frame given constraints.
Draw the neutron star component masses assuming a uniform prior over the range of masses, as used by LIGO’s BNS compact binary waveform search, but with a maximum mass set by the chosen EOS.
- Parameters:
maximum_mass_bound (float) – The maximum TOV mass for the given EOS.
mass_lower_bound (float) – The lower bound on the allowable mass of the neutron star.
mass_ratio_cut (float) – The mass ratio constraint to apply to the mass sampling.
output_shape (float or tuple) – The number and array shaping structure for the draws of masses.
- Returns:
mass1 (float) – The source-frame gravitational mass of the first neutron star [solar masses].
mass2 (float) – The source-frame gravitational mass of the second neutron star [solar masses].