CONAN.utils.ingress_duration

CONAN.utils.ingress_duration#

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

Compute the ingress duration of transit or occultation in units of P

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)

Returns:

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

Return type:

array-like;