6.2.7.1.2. eqcorrscan.utils.findpeaks.decluster

eqcorrscan.utils.findpeaks.decluster(peaks, index, trig_int, threshold=0)[source]

Decluster peaks based on an enforced minimum separation.

Parameters:
  • peaks (np.array) – array of peak values

  • index (np.ndarray) – locations of peaks

  • trig_int (int) – Minimum trigger interval in samples

  • threshold (float) – Minimum absolute peak value to retain it.

Returns:

list of tuples of (value, sample)