eqcorrscan.core.lag_calc._prepare_data¶
-
eqcorrscan.core.lag_calc.
_prepare_data
(family, detect_data, shift_len)[source]¶ Prepare data for lag_calc - reduce memory here.
- Parameters
family (eqcorrscan.core.match_filter.family.Family) – The Family containing the template and detections.
detect_data (obspy.core.stream.Stream) – Stream to extract detection streams from.
shift_len (float) – Shift length in seconds allowed for picking.
- Returns
Dictionary of detect_streams keyed by detection id to be worked on
- Return type