CONAN._classes.load_lightcurves.mask_points
===========================================

.. py:method:: CONAN._classes.load_lightcurves.mask_points(lc_list=None, condition="lc['col0']<lc['col0'][10]", show_plot=False, verbose=True)

   Function to mask points in the lightcurves based on a condition. These points are removed from the injested data

   :param lc_list: list of lightcurve filenames on which to mask points. Default is 'all' which masks all lightcurves in the object.
   :type lc_list: list of string, None, 'all';
   :param condition: The condition is a string that can be evaluated as a python boolean expression based on any column of the lc
                     e.g. "lc['col1']>1.0002" will mask points where flux is greater than 1.0002.
                     The condition can be a combination of columns and logical operators e.g.
                     "(lc['col1']>1.0002) & (lc['col0']<lc['col0'][10])" will mask points where flux is
                     greater than 1.0002 and time is less than the 10th time point. Default is None which does nothing.
   :type condition: str, list of str, None;
   :param show_plot: set True to plot the data and show masked points.
   :type show_plot: bool;
   :param verbose: Prints number of points that have been masked. Default is True
   :type verbose: bool;

   .. attribute:: _masked_points

      set to True if data has been masked. Default is False

      :type: bool;

