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.light_curve_collection.LightCurveCollectionA 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 light curves in the collection.
Returns: An iterable of the light curve paths.
-
load_times_and_fluxes_from_path(self, path: Path)[source]¶ Loads the times and fluxes from a given light curve path.
Parameters: path – The path to the light curve file. Returns: The times and the fluxes of the light curve.
-
load_times_and_magnifications_from_path(self, path: Path)[source]¶ Loads the times and magnifications from a given path as an injectable signal.
Parameters: path – The path to the light curve/signal file. Returns: The times and the magnifications of the light curve/signal.
-
static
generate_synthetic_signal_from_real_data(fluxes: np.ndarray, times: np.ndarray)[source]¶ Takes real light curve data and converts it to a form that can be used for synthetic light curve injection.
Parameters: - fluxes – The real light curve fluxes.
- times – The real light curve times.
Returns: Fake synthetic magnifications and times.
-