CONAN._classes.load_lightcurves.clip_outliers#

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

Parameters:
  • lc_list (list of string, None, 'all';) – list of lightcurve filenames on which perform outlier clipping. Default is ‘all’ which clips all lightcurves in the object.

  • clip (int/float,list;) – cut off value above the median deviation. Default is 5. If list, must be same length as lc_list.

  • width (int,list;) – 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.

  • select_column (list of str, str;) – 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.

  • niter (int,list;) – Number of iterations to perform clipping. Default is 1

  • show_plot (bool;) – set True to plot the data and show clipped points.

  • verbose (bool;) – Prints number of points that have been cut. Default is True

_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;