CONAN.get_files.get_K2_data#
- class CONAN.get_files.get_K2_data(planet_name)#
Bases:
objectClass to download and save K2 light curves from MAST (using the lightkurve package).
- Parameters:
planet_name (str) – Name of the planet.
Examples
>>> from CONAN.get_files import get_TESS_data >>> df = get_K2_data("K2-233") >>> df.search(campaign=[15], exptime=60) >>> df.download(campaign=[2,4,7], exptime=60) >>> df.scatter() >>> df.save_CONAN_lcfile(bjd_ref = 2450000, folder="data")
- contam#
- lc#
- planet_name#
Methods#
|
find gaps in the data |
|
Discard data at the start/end of the orbits (or large gaps) that typically feature ramps |
|
Download Kepler K2 light curves from MAST using the lightkurve package |
|
Save Kepler K2 light curves as a CONAN light curve file. |
|
Plot the scatter of the light curves. |
|
Search for K2 light curves on MAST using the lightkurve package. |
|
Split the light curves into sections based on (1)gaps in the data, (2)given time intervals (3)given split time(s). |