kilopop.mappings.map_to_dynamical_ejecta

kilopop.mappings.map_to_dynamical_ejecta(mass1, comp1, mass2, comp2, dynamical_ejecta_mass=None, median_ejecta_velocity=None)[source]

Wrapper for fit functions from various references: Coughlin et. al 2018 to map mass1, mass2, compactness1, compactness2 to dynamical ejecta mass and median ejecta velocity.

Parameters:
  • mass1 (float) – The mass of the primary (more massive) neutron star.

  • mass2 (float) – The mass of the secondary (less massive) neutron star.

  • compactness1 (float) – The compactness of the primary (more massive) neutron star.

  • compactness2 (float) – The compactness of the secondary (less massive) neutron star.

Returns:

  • dynamical_ejecta_mass (float) – Dynamical ejecta mass from the fit.

  • median_ejecta_velocity (float) – The median ejecta velocity of the kilonova dynamical ejecta.