load_events¶
-
Catalog.
load_events
(project, start_time=None, end_time=None, event_id=None, min_event_length=None, event_types=None, event_tags=None)[source]¶ Load events from the database.
The query can be limited using the allowed keyword arguments.
- Parameters
project (
Project
) – The project used to access the database.start_time (
obspy.core.utcdatetime.UTCDateTime
) – The begin of the time-span to load.end_time (
obspy.core.utcdatetime.UTCDateTime
) – The end of the time-span to load.event_id (list of int) – The database ids of the events to load.
min_event_length (float) – The minimum length of the events to load.
event_types (not yet implemented) – Not yet implemented.
event_tags (list of str) – The tags of an event.