eqcorrscan.core.lag_calc._day_loop¶
-
eqcorrscan.core.lag_calc.
_day_loop
(detection_streams, template, min_cc, detections, interpolate, cores, parallel)[source]¶ Function to loop through multiple detections for one template.
Designed to run for the same day of data for I/O simplicity, but as you are passing stream objects it could run for all the detections ever, as long as you have the RAM!
Parameters: - detection_streams (list) List of all the detections for this template that you want to compute
the optimum pick for. Individual things in list should be of
obspy.core.stream.Stream
type. - template (obspy.core.stream.Stream) The original template used to detect the detections passed
- min_cc (float) Minimum cross-correlation value to be allowed for a pick.
- detections (list) List of detections to associate events with an input detection.
- interpolate (bool) Interpolate the correlation function to achieve sub-sample precision.
Returns: Catalog object containing Event objects for each detection created by this template.
Return type: - detection_streams (list) List of all the detections for this template that you want to compute
the optimum pick for. Individual things in list should be of