eqcorrscan.core.match_filter._template_loop¶
-
eqcorrscan.core.match_filter.
_template_loop
(template, chan, stream_ind, debug=0, i=0)[source]¶ Handle individual template correlations.
Sister loop to handle the correlation of a single template (of multiple channels) with a single channel of data.
Parameters: - template (obspy.core.stream.Stream) Template to correlate
- chan (numpy.ndarray) Single channel of continuous data to correlate
- stream_ind (int) Index of channel to use in template
- debug (int) Debug level from 0-5, higher is more output.
- i (int) Optional argument, used to keep track of which process is being run.
Returns: tuple of (i, ccc) with ccc as an
numpy.ndarray
Return type: