split_series_using_lytaf¶
- sunpy.instr.lyra.split_series_using_lytaf(timearray, data, lytaf)¶
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 usingsunpy.instr.lyra.get_lytaf_events
.
- Returns
list
ofdict
– Each dictionary contains a sub-series corresponding to an interval of “good data”.