CONAN.get_files.get_CHEOPS_data.download#
- CONAN.get_files.get_CHEOPS_data.download(file_keys='all', aperture='DEFAULT', force_download=False, get_metadata=True, decontaminate=True, reject_highpoints=True, bg_MAD_reject=3, outlier_clip=4, outlier_window_width=11, outlier_clip_niter=1, normalize=True, merge_lcs=False, kwargs=None, verbose=True)#
Download CHEOPS light curves from the cheops database using the dace_query package
- Parameters:
file_keys (list of str) – List of file keys to download. if “all” is given, all file_keys shown in .search() result will be downloaded.
aperture (str) – Aperture to use for the light curve. Default is “DEFAULT”. The options are: “R15”,”R16”,…,”R40”,”RINF”,”RSUP”.
force_download (bool) – Force download the light curve even if it has been downloaded before. Default is False.
get_metadata (bool) – get metadata for the lc. this includes telescope tube temperature which may be used in decorrelation.
decontaminate (bool) – Decontaminate the light curve. Default is True.
reject_highpoints (bool) – Reject high points in the light curve. Default is True.
bg_MAD_reject (float) – Number of median absolute deviations to reject high background points. Default is 3.
outlier_clip (float) – Number of standard deviations to clip outliers. Default is 4.
outlier_window_width (int) – Window width to use for clipping outliers. Default is 11.
outlier_clip_niter (int) – Number of iterations to clip outliers. Default is 1.
normalize (bool) – Normalize the light curve flux. Default is True.
merge_lcs (bool) – Merge light curves from different visits into a single light curve. The resulting light curve is normalized to the median of the first lightcurve if normalize is True. Default is False.
kwargs (dict) – Additional keyword arguments to the get_lightcurve() function of pycheops.Dataset. e.g kwargs = dict(saa_max=0, temp_max=0, earth_max=1, moon_max=0, sun_max=0, cr_max=2)
verbose (bool) – Verbose output. Default is True.