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]

Initialize self. See help(type(self)) for accurate signature.

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.
load_times_fluxes_and_flux_errors_from_path(self, path: Path)[source]

Loads the times, fluxes, and flux errors of a light curve from a path to the data.

Parameters:path – The path of the file containing the light curve data.
Returns:The times, fluxes, and flux errors.