CONAN.utils.aR_to_Tdur

CONAN.utils.aR_to_Tdur#

CONAN.utils.aR_to_Tdur(aR, b, Rp, P, e=0, w=90, tra_occ='tra', total=True)#

convert scaled semi-major axis to transit duration in days using eqn 30 and 31 of Kipping 2010 https://doi.org/10.1111/j.1365-2966.2010.16894.x it is a more precise modification of eq 14,16 of Winn2010 https://arxiv.org/pdf/1001.2010.pdf

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

  • b (float, ufloat, array-like;) – The impact parameter.

  • Rp (float, ufloat, array-like;) – planet-to-star radius ratio.

  • P (float, ufloat, array-like;) – The period of the planet in days.

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

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

  • tra_occ (str;) – select duration of transit (tra) or occultation (occ)

  • total (bool;) – select total duration T14 (True) or full duration T23 (False)

Returns:

Tdur – The transit duration in days (same unit as P).

Return type:

array-like;