CONAN.utils.aR_to_rho

CONAN.utils.aR_to_rho#

CONAN.utils.aR_to_rho(P, aR, e=0, w=90, qm=0)#

Compute the transit derived stellar density from the planet period and scaled semi major axis. uses eqn 39 of kipping 2010 https://doi.org/10.1111/j.1365-2966.2010.16894.x to account for eccentricity

Parameters:
  • P (float, ufloat, array-like;) – The planet period in days

  • aR (float, ufloat, array-like;) – The scaled semi-major axis of the planet orbit

  • e (float, ufloat, array-like;) – The eccentricity of the orbit. Default is 0

  • w (float, ufloat, array-like;) – The argument of periastron in degrees. Default is 90

  • qm (float, ufloat, array-like;) – The mass ratio of the planet to the star. Default is 0 (Mp<<Ms)

Returns:

rho – The stellar density in g/cm^3

Return type:

array-like;