eqcorrscan.core.match_filter.detection.read_detections

eqcorrscan.core.match_filter.detection.read_detections(fname, encoding='UTF8')[source]

Read detections from a file to a list of Detection objects.

Parameters
  • fname (str) – File to read from, must be a file written to by Detection.write.

  • encoding (str) – Encoding used for detection file.

Returns

list of eqcorrscan.core.match_filter.Detection

Return type

list

Note

eqcorrscan.core.match_filter.detection.Detection’s returned do not contain Detection.event