CONAN.get_files.get_TESS_data.download
======================================

.. py:method:: CONAN.get_files.get_TESS_data.download(sectors=None, author=None, exptime=None, select_flux='pdcsap_flux', decontaminate=False, quality_bitmask='default')

   Download TESS light curves from MAST using the lightkurve package

   :param sectors: TESS sector lightcurve to download.
   :type sectors: int or list of ints
   :param author: Author of the light curve. Default is "SPOC".
   :type author: str
   :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 decontaminate: Decontaminate the light curve using the contamination fraction. Only applies when select_flux is not "pdcsap_flux". Default is False.
   :type decontaminate: 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

