gwemlightcurves.EjectaFits.DiUj2017.calc_meje(m1, mb1, c1, m2, mb2, c2)[source]
gwemlightcurves.EjectaFits.DiUj2017.calc_meje(m1, mb1, c1, m2, mb2, c2)[source]

Neutron star mass ejected (M_sun). Masses in solar masses, neutron star radius in meters, and baryon mass, if provided, is in solar masses.

mass ejecta calculated from

https://arxiv.org/pdf/1612.03665.pdf#equation.3.1

constants taken from

https://arxiv.org/pdf/1612.03665.pdf#equation.3.2

_a, _b, _c, _d, _n= -1.35695, 6.11252, -49.43355, 16.1144, -2.5484

Parameters:
  • m1 (float) – mass of larger ns (MSun)
  • mb1 (float) – baryonic mass of larger ns
  • c1 (float) – compactness of the larger neutron star
  • m2 (float) – mass of samller ns (MSun)
  • mb2 (float) – baryonic of smaller ns
  • c2 (float) – compactness of the smaller neutron star
Returns:

ejecta mass (Msun)

Return type:

float

gwemlightcurves.EjectaFits.DiUj2017.calc_phej(m1, c1, m2, c2)[source]
gwemlightcurves.EjectaFits.DiUj2017.calc_qej(m1, c1, m2, c2)[source]

opening angle theta_ej

θej∈[π/8,3π/8] and φej∈[π,2π], and that θej and φ ej are linearly correlated

https://arxiv.org/pdf/1612.03665.pdf#equation.3.13

Parameters:
  • m1 (float) – mass of larger ns (MSun)
  • c1 (float) – compactness of the larger neutron star
  • m2 (float) – mass of samller ns (MSun)
  • c2 (float) – compactness of the smaller neutron star
Returns:

opening angle

Return type:

float

gwemlightcurves.EjectaFits.DiUj2017.calc_qej(m1, c1, m2, c2)[source]
gwemlightcurves.EjectaFits.DiUj2017.calc_qej(m1, c1, m2, c2)[source]
Parameters:
  • m1 (float) – mass of larger ns (MSun)
  • c1 (float) – compactness of the larger neutron star
  • m2 (float) – mass of samller ns (MSun)
  • c2 (float) – compactness of the smaller neutron star
Returns:

opening angle

Return type:

float

gwemlightcurves.EjectaFits.DiUj2017.calc_vej(m1, c1, m2, c2)[source]
gwemlightcurves.EjectaFits.DiUj2017.calc_vej(m1, c1, m2, c2)[source]

velocity mass ejecta calculated from

https://arxiv.org/pdf/1612.03665.pdf#equation.3.9

Parameters:
  • m1 (float) – mass of larger ns (MSun)
  • c1 (float) – compactness of the larger neutron star
  • m2 (float) – mass of samller ns (MSun)
  • c2 (float) – compactness of the smaller neutron star
Returns:

velocity of ejecta mass (Msun)

Return type:

float

gwemlightcurves.EjectaFits.DiUj2017.calc_vrho(m1, c1, m2, c2)[source]
gwemlightcurves.EjectaFits.DiUj2017.calc_vrho(m1, c1, m2, c2)[source]

velocity mass ejecta

https://arxiv.org/pdf/1612.03665.pdf#equation.3.5

https://arxiv.org/pdf/1612.03665.pdf#equation.3.6

a = −0.219479, b= 0.444836, c=−2.67385

Parameters:
  • m1 (float) – mass of larger ns (MSun)
  • c1 (float) – compactness of the larger neutron star
  • m2 (float) – mass of samller ns (MSun)
  • c2 (float) – compactness of the smaller neutron star
Returns:

velocity of ejecta mass (Msun)

Return type:

float

gwemlightcurves.EjectaFits.DiUj2017.calc_vz(m1, c1, m2, c2)[source]
gwemlightcurves.EjectaFits.DiUj2017.calc_vz(m1, c1, m2, c2)[source]

the velocity orthogonal to the orbital plane

https://arxiv.org/pdf/1612.03665.pdf#equation.3.7

https://arxiv.org/pdf/1612.03665.pdf#equation.3.8

a=−0.315585, b= 0.63808, c=−1.00757

Parameters:
  • m1 (float) – mass of larger ns (MSun)
  • c1 (float) – compactness of the larger neutron star
  • m2 (float) – mass of samller ns (MSun)
  • c2 (float) – compactness of the smaller neutron star
Returns:

velocity of ejecta mass (Msun)

Return type:

float