4.6.2.2.2. eqcorrscan.core.lag_calc._day_loop¶
-
eqcorrscan.core.lag_calc.
_day_loop
(detection_streams, template, min_cc, detections, horizontal_chans, vertical_chans, interpolate, cores, parallel, debug=0)[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.
- horizontal_chans (list) – List of channel endings for horizontal-channels, on which S-picks will be made.
- vertical_chans (list) – List of channel endings for vertical-channels, on which P-picks will be made.
- interpolate (bool) – Interpolate the correlation function to achieve sub-sample precision.
- debug (int) – debug output level 0-5.
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