obspy.core.inventory.network.Network¶
-
class
Network
(code, stations=None, total_number_of_stations=None, selected_number_of_stations=None, description=None, comments=None, start_date=None, end_date=None, restricted_status=None, alternate_code=None, historical_code=None, data_availability=None)[source]¶ Bases:
obspy.core.inventory.util.BaseNode
- From the StationXML definition:
- This type represents the Network layer, all station metadata is contained within this element. The official name of the network or other descriptive information can be included in the Description element. The Network can contain 0 or more Stations.
Attributes
__dict__
__doc__
__hash__
__module__
__weakref__
list of weak references to the object (if defined) alternate_code
From the StationXML definition: code
historical_code
From the StationXML definition: selected_number_of_stations
stations
total_number_of_stations
Public Methods
copy
Returns a deepcopy of the object. get_channel_metadata
Return basic metadata for a given channel. get_contents
Returns a dictionary containing the contents of the object. get_coordinates
Return coordinates and orientation for a given channel. get_orientation
Return orientation for a given channel. get_response
Find response for a given channel at given time. is_active
Checks if the item was active at some given point in time (time) and/or if it was active at some point during a certain time range (starttime, endtime). plot
Creates a preview map of all stations in current network object. plot_response
Show bode plot of instrument response of all (or a subset of) the network’s channels. select
Returns the Network
object with only theStation
s /Channel
s that match the given criteria (e.g.Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
_repr_pretty_
Special Methods
__dir__
Default dir() implementation. __eq__
Return self==value. __format__
Default object formatter. __getitem__
__init__
type code: str __init_subclass__
This method is called when a class is subclassed. __len__
__ne__
Return self!=value. __new__
Create and return a new object. __reduce__
Helper for pickle. __reduce_ex__
Helper for pickle. __short_str__
__sizeof__
Size of object in memory, in bytes. __str__
Return str(self). __subclasshook__
Abstract classes can override this to customize issubclass().