CONAN.utils.Tdur_to_aR#
- CONAN.utils.Tdur_to_aR(Tdur, b, Rp, P, e=0, w=90, tra_occ='tra')#
convert transit duration to scaled semi-major axis using eqn 41 of Kipping 2010 https://doi.org/10.1111/j.1365-2966.2010.16894.x note (1+p^2) in the equation should instead be (1+p)^2
- Parameters:
Tdur (float, ufloat, array-like;) – The transit duration in days.
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.
- Returns:
aR – The scaled semi-major axis of the planet.
- Return type:
array-like;