CONAN.get_files.get_CHEOPS_data.load_pipe_file
==============================================

.. py:method:: CONAN.get_files.get_CHEOPS_data.load_pipe_file(folder=None, fits_filelist=None, reject_highpoints=True, bg_MAD_reject=3, outlier_clip=4, outlier_window_width=11, outlier_clip_niter=1, force_PIPE_setup=False, verbose=False)

   Load CHEOPS light curves from pipe files. The PIPE fits files are obtained from the given folder or from fits_filelist.

   :param folder: Folder to load the pipe files from. Default is None in which case the current working directory is used.
   :type folder: str
   :param fits_filelist: List of pipe files to load. Default is None in which case all fits files in the folder are loaded.
   :type fits_filelist: list of str
   :param decontaminate: Decontaminate the light curve. Default is True.
   :type decontaminate: bool
   :param reject_highpoints: Reject high points in the light curve. Default is True.
   :type reject_highpoints: bool
   :param bg_MAD_reject: Number of median absolute deviations to reject high background points. Default is 3.
   :type bg_MAD_reject: float
   :param outlier_clip: Number of standard deviations to clip outliers. Default is 4.
   :type outlier_clip: float
   :param outlier_window_width: Window width to use for clipping outliers. Default is 11.
   :type outlier_window_width: int
   :param outlier_clip_niter: Number of iterations to clip outliers. Default is 1.
   :type outlier_clip_niter: int
   :param force_PIPE_setup: Force the setup of the PIPE file again. Default is False to check for the file in the pycheops working folder.
                            if not found, the PIPE file is created from the given folder.
   :type force_PIPE_setup: bool
   :param verbose: Verbose output. Default is False.
   :type verbose: bool

