CONAN._classes.load_lightcurves.transit_timing_variation
========================================================

.. py:method:: CONAN._classes.load_lightcurves.transit_timing_variation(ttvs='n', dt=(-0.125, 0, 0.125), baseline_amount=0.25, per_LC_T0=False, include_partial=True, show_plot=False, print_linear_eph=True, verbose=True)

   include transit timing variation between the transit. Note: Reference 'T_0' and 'P' values
   are fixed to the start values defined in ``.planet_parameters()``. The transit times
   expected for each transit of a planet is calculated automatically

   :param ttvs: specify if to fit transit timing variation or not. default is "n"
   :type ttvs: str ("y" or "n");
   :param dt: deviation of transit times from the expected values. Must be tuple of len 2/3 specifying
              (mu,std)/(min,start,max). this deviation is added to the expected linear ephemeris time,
              where n is the transit number. Default is 180mins around expected T0 i.e (-0.125,0,0.125)
              e.g. T0_linear = 1406, dt=(-0.125,0,0.125) --> T0_prior = U(1406-0.125, 1406, 1406+0.125)
              dt = (0,0.125) --> T0_prior = N(1406, 0.125)
   :type dt: tuple of len 2 or 3;
   :param baseline_amount: amount of baseline around each transit to use in extracting the transit. Default is 0.25
                           times the planet period. Only used to split transits when ``per_LC_T0=False``.
   :type baseline_amount: float;
   :param per_LC_T0: whether to fit a single T0 per LC file as opposed to a T0 per transit.
   :type per_LC_T0: bool;
   :param include_partial: include partial transits in the TTV analysis. Default is False.
   :type include_partial: bool;
   :param show_plot: show plot of the extracted transits. Default is False.
   :type show_plot: bool;
   :param print_linear_eph: print linear ephemeris. Default is False.
   :type print_linear_eph: bool;

   .. attribute:: _ttvs

      namespace of transit timing variation parameters

      :type: SimpleNamespace

