5.5.1.4. eqcorrscan.utils.correlate.time_multi_normxcorr

eqcorrscan.utils.correlate.time_multi_normxcorr(templates, stream, pads, threaded=False, *args, **kwargs)[source]

Compute cross-correlations in the time-domain using C routine.

Parameters:
  • templates (np.ndarray) 2D Array of templates
  • stream (np.ndarray) 1D array of continuous data
  • pads (list) List of ints of pad lengths in the same order as templates
  • threaded (bool) Whether to use the threaded routine or not
Returns:

np.ndarray of cross-correlations

Returns:

np.ndarray channels used