4.1.2.7. eqcorrscan.core.bright_lights._find_detections

eqcorrscan.core.bright_lights._find_detections(cum_net_resp, nodes, threshold, thresh_type, samp_rate, realstations, length)[source]

Find detections within the cumulative network response.

Parameters:
  • cum_net_resp (numpy.ndarray) Array of cumulative network response for nodes
  • nodes (list) Nodes associated with the source of energy in the cum_net_resp
  • threshold (float) Threshold value
  • thresh_type (str) Either MAD (Median Absolute Deviation) or abs (absolute) or RMS (Root Mean Squared)
  • samp_rate (float) Sampling rate in Hz
  • realstations (list) List of stations used to make the cumulative network response, will be reported in the DETECTION
  • length (float) Maximum length of peak to look for in seconds
Returns:

detections as :class: DETECTION

Note

This is an internal function to ease parallel processing and should not be called directly.