4.3. match_filter

Functions for network matched-filter detection of seismic data. Designed to cross-correlate templates generated by template_gen function with data and output the detections. The central component of this is the match_template function from the openCV image processing package. This is a highly optimized and accurate normalized cross-correlation routine. The details of this code can be found here: http://docs.opencv.org/2.4/modules/imgproc/doc/object_detection.html

copyright:Calum Chamberlain, Chet Hopp.
license:GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)

4.3.1. Classes & Functions

DETECTION Single detection from detection routines in eqcorrscan.
detections_to_catalog Helper to convert from list of detections to obspy catalog.
extract_from_stream Extract waveforms for a list of detections from a stream.
get_catalog Generate an obspy catalog from detections of DETECTION class.
match_filter Main matched-filter detection function.
normxcorr2 Thin wrapper on openCV match_template function.
read_detections Read detections from a file to a list of DETECTION objects.

4.3.2. Private Functions

_channel_loop Internal loop for parallel processing.
_template_loop Sister loop to handle the correlation of a single template (of multiple channels) with a single channel of data.