RAMjET

ramjet.data_interface.tess_ffi_light_curve_metadata_manager

Code for managing the TESS FFI metadata SQL table.

Module Contents

Classes

TessFfiLightCurveMetadata A model for the TESS FFI light curve metadatabase table.
TessFfiLightCurveMetadataManager A class for managing the TESS FFI metadata SQL table.
class TessFfiLightCurveMetadata(*args, **kwargs)[source]

Bases: ramjet.data_interface.metadatabase.MetadatabaseModel

A model for the TESS FFI light curve metadatabase table.

class Meta

Schema meta data for the model.

indexes = [[['sector', 'tic_id'], True], [['dataset_split', 'tic_id'], False], [['dataset_split', 'magnitude', 'tic_id'], False]]
tic_id
sector
path
dataset_split
magnitude
class TessFfiLightCurveMetadataManager[source]

A class for managing the TESS FFI metadata SQL table.

__init__(self)[source]

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

insert_multiple_rows_from_paths_into_database(self, light_curve_paths: List[Path])[source]

Inserts sets of light curve paths into the table.

Parameters:light_curve_paths – The list of paths to insert.
populate_sql_database(self)[source]

Populates the SQL database based on the light curve files.

build_table(self)[source]

Builds the SQL table.

manager