CONAN.get_files.get_CHEOPS_data#

class CONAN.get_files.get_CHEOPS_data(planet_name)#

Bases: object

Class to download and save CHEOPS light curves from CHEOPS archive (using dace_query and pycheops).

Parameters:

planet_name (str) – Name of the planet.

Examples

>>> from CONAN.get_files import get_CHEOPS_data
>>> df = get_CHEOPS_data("KELT-20")
>>> df.search( filters = { "pi_name":{"contains":["LENDL"]}, "data_arch_rev":{"equal":[3]} })
>>> df.download(file_keys="all", aperture="DEFAULT")
>>> df.scatter()
>>> df.save_CONAN_lcfile(bjd_ref = 2450000, folder="data")
lc = []#
planet_name#

Methods#

_resort_roll(x)

download([file_keys, aperture, force_download, ...])

Download CHEOPS light curves from the cheops database using the dace_query package

load_pipe_file([folder, fits_filelist, ...])

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

mask_data([condition, verbose])

Mask the light curves with the given mask. The mask is applied to all light curves.

save_CONAN_lcfile([bjd_ref, folder, out_filename, ...])

Save CHEOPS light curves as a CONAN light curve file.

scatter([plot_cols, nrows_ncols, figsize])

Plot the scatter of the light curves.

search([filters])

Query the cheops database to retrieve available visits. Filters and sorting order can be applied to the query via named arguments (see query_options)