ramjet.photometric_database.toi_lightcurve_database

Code to represent the database of TESS transit data based on disposition tables. The primary source for dispositions is from the ExoFOP TOI table.

Module Contents

class ToiLightcurveDatabase(data_directory='data/tess_toi')[source]

Bases: ramjet.photometric_database.tess_transit_lightcurve_label_per_time_step_database.TessTransitLightcurveLabelPerTimeStepDatabase

A class to represent the database of TESS transit data based on disposition tables.

__init__(self, data_directory='data/tess_toi')[source]
generate_datasets(self)[source]

Generates the training and validation datasets.

Parameters:
  • positive_data_directory – The path to the directory containing the positive example files.
  • negative_data_directory – The path to the directory containing the negative example files.
  • meta_data_file_path – The path to the microlensing meta data file.
Returns:

The training and validation datasets.

obtain_meta_data_frame_for_available_lightcurves(self)[source]
download_exofop_toi_database(self, number_of_negative_lightcurves_to_download=10000)[source]

Downloads the ExoFOP database.

load_toi_dispositions_in_project_format(self)[source]