CONAN.utils.get_Tconjunctions
=============================

.. py:function:: 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.

   :param t: Time stamps.
   :type t: array-like
   :param per: Period.
   :type per: float
   :param t0: Time of transit center.
   :type t0: float
   :param ecc: Eccentricity. Default is 0.
   :type ecc: float
   :param omega: Argument of periastron in radians. Default is 1.5707963.
   :type omega: float
   :param Rstar: Stellar radius in solar radii. used to calculate delay in eclipse time due to light travel travel. Default is None to ignore the delay.
   :type Rstar: float
   :param aR: 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.
   :type aR: float
   :param inc: Inclination in radians. used to calculate delay in eclipse time due to light travel travel. Default is None to ignore the delay.
   :type inc: float

   :returns: **t_conj** --

             transit : float/numpy.ndarray
                     Time of transit. if multiple transits, only the time of first transit is returned
             eclipse : float/numpy.ndarray
                     Time of eclipse. if multiple eclipses, only the time of first eclipse is returned
   :rtype: SimpleNamespace

