ramjet.data_interface.tess_toi_data_interface

Module Contents

class ToiColumns[source]

Bases: enum.Enum

An enum for the names of the TOI columns for Pandas data frames.

tic_id = TIC ID
disposition = Disposition
planet_number = Planet number
transit_epoch__bjd = Transit epoch (BJD)
transit_period__days = Transit period (days)
transit_duration = Transit duration (hours)
sector = Sector
class TessToiDataInterface(data_directory='data/tess_toi')[source]

A data interface for working with the TESS table of objects of interest.

dispositions_ :pd.DataFrame
dispositions

The TOI dispositions data frame property. Will load as a single class attribute on first access. If the data file does not exists, downloads it first.

Returns:The TOI dispositions data frame.
__init__(self, data_directory='data/tess_toi')[source]
update_toi_dispositions_file(self)[source]

Downloads the latest TOI dispositions file.

load_toi_dispositions_in_project_format(self)[source]

Loads the ExoFOP TOI table information from CSV to a data frame using a project consistent naming scheme.

Returns:The data frame of the TOI dispositions table.