split_series_using_lytaf#
- sunkit_instruments.lyra.split_series_using_lytaf(timearray, data, lytaf)[source]#
Splits LYRA timeseries around locations where “LARs” (and other data events) are observed.
- Parameters:
timearray (
numpy.ndarray
) – An array of times understood bysunpy.time.parse_time
.data (
numpy.ndarray
) – An array corresponding to the given time array.lytaf (
numpy.recarray
) – Events obtained from querying the LYTAF database usingsunkit_instruments.lyra.get_lytaf_events
.
- Returns:
Each dictionary contains a sub-series corresponding to an interval of “good data”.
- Return type: