6.1.2.2.2.1.1. eqcorrscan.core.match_filter.helpers.extract_from_stream

eqcorrscan.core.match_filter.helpers.extract_from_stream(stream, detections, pad=5.0, length=30.0)[source]

Extract waveforms for a list of detections from a stream.

Parameters:
  • stream (obspy.core.stream.Stream) – Stream containing the detections.

  • detections (list) – list of eqcorrscan.core.match_filter.detection

  • pad (float) – Pre-detection extract time in seconds.

  • length (float) – Total extracted length in seconds.

Returns:

list of obspy.core.stream.Stream, one for each detection.

Type:

list