obspy.core.inventory.inventory.Inventory¶
-
class
Inventory
(networks=None, source='ObsPy 1.1.1', sender=None, created=None, module='ObsPy 1.1.1', module_uri='https://www.obspy.org')[source]¶ Bases:
obspy.core.util.base.ComparingObject
The root object of the Inventory->Network->Station->Channel hierarchy.
In essence just a container for one or more networks.
Attributes
__dict__
__doc__
__hash__
__module__
__weakref__
list of weak references to the object (if defined)
networks
Public Methods
Return basic metadata for a given channel.
Returns a dictionary containing the contents of the object.
Return coordinates for a given channel.
Return orientation for a given channel.
Find response for a given channel at given time.
Creates a preview map of all networks/stations in current inventory object.
Show bode plot of instrument response of all (or a subset of) the inventory’s channels.
Returns the
Inventory
object with only theNetwork
s /Station
s /Channel
s that match the given criteria (e.g.Writes the inventory object to a file or file-like object in the specified format.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Will be called after two inventory objects have been merged.
Special Methods
Default dir() implementation.
Return self==value.
Default object formatter.
- type networks
list of
This method is called when a class is subclassed.
Return self!=value.
Create and return a new object.
Helper for pickle.
Helper for pickle.
Size of object in memory, in bytes.
Return str(self).
Abstract classes can override this to customize issubclass().