eqcorrscan.core.subspace.subspace_detect

eqcorrscan.core.subspace.subspace_detect(detectors, stream, threshold, trig_int, moveout=0, min_trig=1, parallel=True, num_cores=None)[source]

Conduct subspace detection with chosen detectors.

Parameters:
  • detectors (list) list of eqcorrscan.core.subspace.Detector to be used for detection.
  • stream (obspy.core.stream.Stream) Stream to detect within.
  • threshold (float) Threshold between 0 and 1 for detection, see Detector.detect()
  • trig_int (float) Minimum trigger interval in seconds.
  • moveout (float) Maximum allowable moveout window for non-multiplexed, network detection. See note.
  • min_trig (int) Minimum number of stations exceeding threshold for non-multiplexed, network detection. See note in Detector.detect().
  • parallel (bool) Whether to run detectors in parallel in groups.
  • num_cores (int) How many cpu cores to use if parallel==True. If set to None (default), will use all available cores.
Return type:

list

Returns:

List of eqcorrscan.core.match_filter.DETECTION detections.

Note

This will loop through your detectors using their detect method. If the detectors are multiplexed it will run groups of detectors with the same channels at the same time.