CONAN.get_files.get_K2_data.download
====================================

.. py:method:: CONAN.get_files.get_K2_data.download(campaigns=None, exptime=None, author='K2SFF', select_flux='fcor', merge_same_campaign=True, quality_bitmask='default')

   Download Kepler K2 light curves from MAST using the lightkurve package

   :param campaigns: campaign lightcurve to download.
   :type campaigns: int or list of ints
   :param exptime: Exposure time of the light curve.
   :type exptime: float
   :param select_flux: Flux to select from the light curve. One of ["pdcsap_flux","sap_flux"]. Default is "pdcsap_flux".
   :type select_flux: str
   :param merge_same_campaign: Merge light curves from the same campaign. Default is True.
   :type merge_same_campaign: bool
   :param quality_bitmask: Quality bitmask to use for the lightkurve package. options are ["none","default","hard","hardest"]. Default is "default".
   :type quality_bitmask: str

