5.5.1.4. eqcorrscan.utils.correlate.numpy_normxcorr¶
-
eqcorrscan.utils.correlate.numpy_normxcorr(templates, stream, pads)[source]¶ Compute the normalized cross-correlation of multiple templates with data.
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