obspy.signal.cross_correlation
Signal processing routines based on cross correlation techniques.
- copyright:
The ObsPy Development Team (devs@obspy.org)
- license:
GNU Lesser General Public License, Version 3 (https://www.gnu.org/copyleft/lesser.html)
Public Functions
Cross-correlation of two signals up to a specified maximal shift. |
|
Calculate cross-correlation of traces in stream with traces in template. |
|
Normalized cross-correlation of two signals with specified mode. |
|
Detector based on the cross-correlation of waveforms. |
|
Compares all event templates in the streams_templates list of streams against the given stream around the time of the suspected event. |
|
Calculates the cross correlation on each of the specified components separately, stacks them together and estimates the maximum and shift of maximum on the stack. |
|
Return shift and value of the maximum of the cross-correlation function. |
|
Calculate the correction for the differential pick time determined by cross correlation of the waveforms in narrow windows around the pick times. |
Private Functions
Warning
Private functions are mainly for internal/developer use and their API might change without notice.
Return trace with mean of traces in stream. |
|
Calculate cross-correlation of traces in stream with traces in template. |
|
Peak finding function used for Scipy versions smaller than 1.1. |
|
Insert amplitude ratio and magnitude into detections. |
|
Pad num zeros at both sides of array a |
|
Plot detections together with similarity traces and data stream. |
|
Prepare stream and template for cross-correlation. |
|
Detector based on the similarity of waveforms. |
|
Rolling sum of data. |
|
Cross-correlation using SciPy with mode='valid' and precedent zero padding. |
|
Cross-correlation using SciPy with mode='full' and subsequent slicing. |