ramjet.photometric_database.eclipsing_binary_database

Code to search for eclipsing binaries.

Module Contents

class EclipsingBinaryDatabase(data_directory='data/eclipsing_binary_database')[source]

Bases: ramjet.photometric_database.tess_synthetic_injected_with_negative_injection_database.TessSyntheticInjectedWithNegativeInjectionDatabase

A class to represent a database to train to find eclipsing binaries in 2 minute cadence TESS data. Uses known cases from Brian Powell’s eclipsing binary catalog.

__init__(self, data_directory='data/eclipsing_binary_database')[source]
get_all_synthetic_signal_paths(self)[source]

Returns the list of all synthetic signals to use.

Returns:The list of synthetic signals.
load_magnifications_and_times_from_synthetic_signal_path(self, synthetic_signal_path: str)[source]

Loads the synthetic signal from the path given.

Parameters:synthetic_signal_path – The path to the synthetic signal data file.
Returns:The magnifications and relative times of the synthetic signal.
download_catalog_eclipsing_binaries(self)[source]

Downloads the eclipsing binaries listed in Brian Powell’s catalog to the synthetic signals directory.

database