CONAN._classes.load_lightcurves.clip_outliers
=============================================

.. py:method:: CONAN._classes.load_lightcurves.clip_outliers(lc_list='all', clip=5, width=15, select_column=['col1'], niter=1, show_plot=False, verbose=True)

   Remove outliers using a running median method. Points > clip*M.A.D are removed
   where M.A.D is the mean absolute deviation from the median in each window

   :param lc_list: list of lightcurve filenames on which perform outlier clipping. Default is 'all' which clips all lightcurves in the object.
   :type lc_list: list of string, None, 'all';
   :param clip: cut off value above the median deviation. Default is 5. If list, must be same length as lc_list.
   :type clip: int/float,list;
   :param width: Number of points in window to use when computing the running median. Must be odd. Default is 15. If list, must be same length as lc_list.
   :type width: int,list;
   :param select_column: list of column names on which to perform clipping. Default is only ["col1"] which is the flux column.
                         possible columns are: ["col1","col3","col4","col5","col6","col7","col8"]. "all" can be used to clip all columns.
   :type select_column: list of str, str;
   :param niter: Number of iterations to perform clipping. Default is 1
   :type niter: int,list;
   :param show_plot: set True to plot the data and show clipped points.
   :type show_plot: bool;
   :param verbose: Prints number of points that have been cut. Default is True
   :type verbose: bool;

   .. attribute:: _clipped_data

      flag: bool; set to True if data has been clipped. Default is False
      lc_list: list of str; list of lightcurve filenames that have been clipped
      config: list of str; configuration of the clipping for each lightcurve

      :type: SimpleNamespace;

