ramjet.photometric_database.ffi_microlensing_database

Code to represent a database to find microlensing events in FFI data.

Module Contents

class FfiMicrolensingDatabase(data_directory='data/microlensing')[source]

Bases: ramjet.photometric_database.injected_with_additional_explicit_negative_database.InjectedWithAdditionalExplicitNegativeDatabase

A class to represent a database to find microlensing events in FFI data.

__init__(self, data_directory='data/microlensing')[source]
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.
get_all_lightcurve_paths(self)[source]

Returns the list of all lightcurves to use.

Returns:The list of lightcurves.
load_fluxes_and_times_from_lightcurve_path(self, lightcurve_path: str)[source]

Loads the lightcurve from the path given.

Parameters:lightcurve_path – The path to the lightcurve file.
Returns:The fluxes and times of the lightcurve