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.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 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_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 lightcurve/signal file. Returns: The times and the magnifications of the lightcurve/signal.
-
static
generate_synthetic_signal_from_real_data(fluxes: np.ndarray, times: np.ndarray)[source]¶ Takes real lightcurve data and converts it to a form that can be used for synthetic lightcurve injection.
Parameters: - fluxes – The real lightcurve fluxes.
- times – The real lightcurve times.
Returns: Fake synthetic magnifications and times.
-