get_detections

Catalog.get_detections(start_time=None, end_time=None, start_inside=False, end_inside=False, **kwargs)[source]

Get detections using search criteria passed as keywords.

Parameters
  • start_time (class:obspy.UTCDateTime) – The minimum starttime of the detections.

  • end_time (class:obspy.UTCDateTime) – The maximum end_time of the detections.

  • start_inside (bool) – If True, select only those detection with a start time inside the search window.

  • end_inside (bool) – If True, select only those detection with an end time inside the search window.

Keyword Arguments

nslc (tuple of str) – The network-station-location-channel code (e.g (‘XX’, ‘DUBA’, ‘00’, ‘HNormal’)).

Returns

The detection matching the search criteria.

Return type

Detection