5.2.5.1.3. eqcorrscan.utils.correlate.numpy_normxcorr¶
- eqcorrscan.utils.correlate.numpy_normxcorr(templates, stream, pads, *args, **kwargs)[source]¶
Compute the normalized cross-correlation using numpy and bottleneck.
- 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
- Returns:
np.ndarray of cross-correlations
- Returns:
np.ndarray channels used