ramjet.data_interface.tess_ffi_data_interface

Code for interfacing with Brian Powell’s TESS full frame image (FFI) data.

Module Contents

class FfiDataIndexes[source]

Bases: enum.Enum

An enum for accessing Brian Powell’s FFI pickle data with understandable indexes.

TIC_ID = 0
RA = 1
DEC = 2
TESS_MAGNITUDE = 3
TIME = 4
RAW_FLUX = 5
CORRECTED_FLUX = 6
PCA_FLUX = 7
FLUX_ERROR = 8
class TessFfiDataInterface[source]

A class for interfacing with Brian Powell’s TESS full frame image (FFI) data.

static load_fluxes_and_times_from_pickle_file(file_path: Union[Path, str], flux_type_index: FfiDataIndexes = FfiDataIndexes.CORRECTED_FLUX)[source]

Loads the fluxes and times from one of Brian Powell’s FFI pickle files.

Parameters:file_path – The path to the pickle file to load.
Returns:The fluxes and the times.