obspy.signal.tf_misfit.tfpm
- tfpm(st1, st2, dt=0.01, fmin=1.0, fmax=10.0, nf=100, w0=6, norm='global', st2_isref=True)[source]
Time Frequency Phase Misfit
See also
[Kristekova2009], Table 1. and 2.
- Parameters:
st1 – signal 1 of two signals to compare, type numpy.ndarray with shape (number of components, number of time samples) or (number of timesamples, ) for single component data
st2 – signal 2 of two signals to compare, type and shape as st1
dt – time step between two samples in st1 and st2
fmin – minimal frequency to be analyzed
fmax – maximal frequency to be analyzed
nf – number of frequencies (will be chosen with logarithmic spacing)
w0 – parameter for the wavelet, tradeoff between time and frequency resolution
norm – ‘global’ or ‘local’ normalization of the misfit
st2_isref (bool) – True if st2 is a reference signal, False if none is a reference
- Returns:
time frequency representation of Phase Misfit, type numpy.ndarray with shape (nf, len(st1)) for single component data and (number of components, nf, len(st1)) for multicomponent data