ramjet.photometric_database.derived.tess_ffi_lightcurve_collection¶
Code for a lightcurve collection of the TESS FFI data, as produced by Brian Powell.
Module Contents¶
Classes¶
TessFfiLightcurveCollection(dataset_splits: Union[List[int], None] = None, magnitude_range: (Union[float, None], Union[float, None]) = (None, None)) |
A lightcurve collection of the TESS two minute cadence data. |
-
class
TessFfiLightcurveCollection(dataset_splits: Union[List[int], None] = None, magnitude_range: (Union[float, None], Union[float, None]) = (None, None))[source]¶ Bases:
ramjet.photometric_database.sql_metadata_lightcurve_collection.SqlMetadataLightcurveCollectionA lightcurve collection of the TESS two minute cadence data.
-
tess_ffi_data_interface¶
-
tess_ffi_lightcurve_metadata_manger¶
-
__init__(self, dataset_splits: Union[List[int], None] = None, magnitude_range: (Union[float, None], Union[float, None]) = (None, None))[source]¶ Parameters: - label – The label corresponding to the lightcurves in the collection.
- function_to_get_paths – A function which returns an iterable of the lightcurve paths.
- function_to_load_times_and_fluxes_from_path – A function which, given a lightcurve path, will load the times and fluxes of the lightcurve.
- function_to_load_times_and_magnifications_from_path – A function which, given a lightcurve path, will load the times and magnifications of the lightcurve.
-
get_sql_query(self)[source]¶ Gets the SQL query for the database models for the lightcurve collection.
Returns: The SQL query.
-
get_path_from_model(self, model: MetadatabaseModel)[source]¶ Gets the lightcurve path from the SQL database model.
Returns: The path to the lightcurve.
-