5.4.1.5. eqcorrscan.utils.clustering.cross_chan_coherence¶
-
eqcorrscan.utils.clustering.
cross_chan_coherence
(st1, st2, allow_shift=False, shift_len=0.2, i=0)[source]¶ Calculate cross-channel coherency.
Determine the cross-channel coherency between two streams of multichannel seismic data.
Parameters: - st1 (obspy.core.stream.Stream) Stream one
- st2 (obspy.core.stream.Stream) Stream two
- allow_shift (bool) Allow shift?
- shift_len (int) Samples to shift
- i (int) index used for parallel async processing, returned unaltered
Returns: cross channel coherence, float - normalized by number of channels, if i, returns tuple of (cccoh, i) where i is int, as input.