RAMjET

ramjet.photometric_database.derived.tess_two_minute_cadence_lightcurve_collection

Code for a lightcurve collection of the TESS two minute cadence data.

Module Contents

Classes

TessTwoMinuteCadenceLightcurveCollection A lightcurve collection of the TESS two minute cadence data.
TessTwoMinuteCadenceTargetDatasetSplitLightcurveCollection A lightcurve collection of the TESS two minute cadence data with lightcurves from the same target in the same
class TessTwoMinuteCadenceLightcurveCollection(dataset_splits: Union[List[int], None] = None, flux_type: TessFluxType = TessFluxType.PDCSAP)[source]

Bases: ramjet.photometric_database.sql_metadata_lightcurve_collection.SqlMetadataLightcurveCollection

A lightcurve collection of the TESS two minute cadence data.

tess_data_interface
tess_two_minute_cadence_lightcurve_metadata_manger
__init__(self, dataset_splits: Union[List[int], None] = None, flux_type: TessFluxType = TessFluxType.PDCSAP)[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 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.
load_times_and_fluxes_from_path(self, path: Path)[source]

Loads the times and fluxes from a given lightcurve path.

Parameters:path – The path to the lightcurve file.
Returns:The times and the fluxes of the lightcurve.
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 lightcurve/signal file.
Returns:The times and the magnifications of the lightcurve/signal.
download(self)[source]

Downloads the lightcurve collection.

class TessTwoMinuteCadenceTargetDatasetSplitLightcurveCollection(dataset_splits: Union[List[int], None] = None, flux_type: TessFluxType = TessFluxType.PDCSAP)[source]

Bases: ramjet.photometric_database.derived.tess_two_minute_cadence_lightcurve_collection.TessTwoMinuteCadenceLightcurveCollection

A lightcurve collection of the TESS two minute cadence data with lightcurves from the same target in the same dataset split.

get_sql_query(self)[source]

Gets the SQL query for the database models for the lightcurve collection.

Returns:The SQL query.