CONAN.utils.tdur_to_rho#
- CONAN.utils.tdur_to_rho(Tdur, b, Rp, P, e=0, w=90, tra_occ='tra')#
convert transit duration to stellar density in g/cm^3 https://doi.org/10.1093/mnras/stu318
- 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.
tra_occ (str;) – select duration of transit (tra) or occultation (occ)
- Returns:
rho – The stellar density in g/cm^3.
- Return type:
array-like;