ramjet.photometric_database.ffi_toi_database¶
Code to represent a database to train to find exoplanet transits in FFI data based on known TOI dispositions.
Module Contents¶
-
class
FfiToiDatabase(data_directory='data/tess_toi_ffi')[source]¶ -
Code to represent a database to train to find exoplanet transits in FFI data based on known TOI dispositions.
-
download_exofop_toi_lightcurves_to_synthetic_directory(self)[source]¶ Downloads the ExoFOP database lightcurve files to the synthetic directory.
-
get_all_lightcurve_paths(self)[source]¶ Returns the list of all lightcurves to use.
Returns: The list of lightcurves.
-
get_all_synthetic_signal_paths(self)[source]¶ Returns the list of all synthetic signals to use.
Returns: The list of synthetic signals.
-
load_fluxes_and_times_from_lightcurve_path(self, lightcurve_path: str)[source]¶ Loads the lightcurve from the path given. Should be overridden to fit a specific database’s file format.
Parameters: lightcurve_path – The path to the lightcurve file. Returns: The fluxes and times of the lightcurve
-
load_magnifications_and_times_from_synthetic_signal_path(self, synthetic_signal_path: str)[source]¶ Loads the synthetic signal from the path given. Should be overridden to fit a specific database’s file format.
Parameters: synthetic_signal_path – The path to the synthetic signal data file. Returns: The magnifications and relative times of the synthetic signal.
-
-
ffi_toi_database¶