mtuq.Dataset¶
- class mtuq.Dataset(streams=[], id=None, tags=[])[source]¶
Bases:
list
Seismic data container
A list of ObsPy streams in which each stream corresponds to a single seismic station
Note
Each supported file format has a corresponding reader that creates Datasets (see
mtuq.io.readers
).Public Methods
Appends stream to Dataset
Applies a function to all streams
Return a shallow copy of the list.
Returns list of components from all streams
Returns origin metadata from all streams as a list of mtuq.event.Origin objects
Returns station metadata from all streams as a list of mtuq.station.Stations objects
Returns trace metadata in nested lists
Maps function to all streams
Returns maximum absolute amplitude over all traces
Selects streams that match the given station or origin
Sorts in-place by source-receiver azimuth
Sorts in-place by hypocentral distance
Sorts in-place by user-supplied function
Appends string to tags list
Removes string from tags list
Writes dataset to disk