RAMjET

ramjet.photometric_database.derived.moa_survey_light_curve_collection

Module Contents

Classes

MoaSurveyLightCurveCollection A collection of light curves based on the MOA 9-year survey.
class MoaSurveyLightCurveCollection(survey_tags: List[str], dataset_splits: Union[List[int], None] = None, label: Union[float, List[float], np.ndarray, None] = None)[source]

Bases: ramjet.photometric_database.lightcurve_collection.LightcurveCollection

A collection of light curves based on the MOA 9-year survey.

moa_data_interface
__init__(self, survey_tags: List[str], dataset_splits: Union[List[int], None] = None, label: Union[float, List[float], np.ndarray, None] = None)[source]
Parameters:
  • label – The label corresponding to the lightcurves in the collection.
  • function_to_get_paths – A function which returns an iterable of the lightcurve paths.
  • function_to_load_times_and_fluxes_from_path – A function which, given a lightcurve path, will load the times and fluxes of the lightcurve.
  • function_to_load_times_and_magnifications_from_path – A function which, given a lightcurve path, will load the times and magnifications of the lightcurve.
get_paths(self)[source]

Gets the paths for the lightcurves in the collection.

Returns:An iterable of the lightcurve paths.
load_times_and_fluxes_from_path(self, path: Path)[source]

Loads the times and fluxes from a given lightcurve path.

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