CONAN.utils._get_Tconjunctions

CONAN.utils._get_Tconjunctions#

CONAN.utils._get_Tconjunctions(t, t0, per, ecc=0, omega=1.5707963, Rstar=None, aR=None, inc=None, verbose=True)#

Get the time of conjunctions (transit and eclipse) for the given time array.

Parameters:
  • t (array-like) – Time stamps.

  • per (float) – Period.

  • t0 (float) – Time of transit center.

  • ecc (float) – Eccentricity. Default is 0.

  • omega (float) – Argument of periastron in radians. Default is 1.5707963.

  • Rstar (float) – Stellar radius in solar radii. used to calculate delay in eclipse time due to light travel travel. Default is None to ignore the delay.

  • aR (float) – Semi-major axis over stellar radius. used to calculate delay in eclipse time due to light travel travel. Default is None to ignore the delay.

  • inc (float) – Inclination in radians. used to calculate delay in eclipse time due to light travel travel. Default is None to ignore the delay.

Returns:

t_conj – (transit_time, eclipse_time) if multiple transits/eclipses, only the time of first transit/eclipse is returned

Return type:

tuple of floats