RAMjET

ramjet.photometric_database.derived.tess_ffi_light_curve_collection

Code for a light curve collection of the TESS FFI data, as produced by Brian Powell.

Module Contents

Classes

TessFfiLightCurveCollection A light curve 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_light_curve_collection.SqlMetadataLightCurveCollection

A light curve collection of the TESS two minute cadence data.

tess_ffi_light_curve_metadata_manger
__init__(self, dataset_splits: Union[List[int], None] = None, magnitude_range: (Union[float, None], Union[float, None]) = (None, None))[source]

Initialize self. See help(type(self)) for accurate signature.

get_sql_query(self)[source]

Gets the SQL query for the database models for the light curve collection.

Returns:The SQL query.
get_path_from_model(self, model: MetadatabaseModel)[source]

Gets the light curve path from the SQL database model.

Returns:The path to the light curve.
load_times_and_fluxes_from_path(self, path: Path)[source]

Loads the times and fluxes from a given light curve path.

Parameters:path – The path to the light curve file.
Returns:The times and the fluxes of the light curve.
load_times_and_magnifications_from_path(self, path: Path)[source]

Loads the times and magnifications from a given path as an injectable signal.

Parameters:path – The path to the light curve/signal file.
Returns:The times and the magnifications of the light curve/signal.