get_events

Catalog.get_events(start_time=None, end_time=None, **kwargs)[source]

Get events using search criteria passed as keywords.

Only events already loaded from the database are searched.

Parameters
  • start_time (obspy.core.utcdatetime.UTCDateTime) – The minimum starttime of the detections.

  • end_time (obspy.core.utcdatetime.UTCDateTime) – The maximum end_time of the detections.

Keyword Arguments
  • db_id (int) – The database id of the event.

  • public_id (str) – The public_id of the event.

  • event_type (str) – The event type (not yet implemented).

  • changed (bool) – True is an event has changed, False otherwise.

Returns

The events matching the search criteria.

Return type

list of Event