get_x_ray_lum#

cogsworth.classify.get_x_ray_lum(m_acc, r_acc, m_acc_dot, porb, kstar, m_don, RRLO_don)[source]#

Estimate the X-ray luminosity for a given binary

We use the prescription from Misra+2022 to estimate the X-ray luminosity for both RLOF/wind-fed XRBs and Be-XRBs.

Parameters:
m_accQuantity [mass]

Accretor mass

r_accQuantity [length]

Accretor radius

m_acc_dotQuantity [mass / time]

Accretion rate

porbQuantity [time]

Orbital period

kstarint

Stellar type

m_donQuantity [mass]

Donor mass

RRLO_donndarray

Donor radius in units of Roche Lobe radius

Returns:
rlof_wind_fedQuantity [erg / s]

Luminosity for a RLOF/wind fed x-ray binary

be_xrbQuantity [erg / s]

Luminosity for Be-XRB