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, identifiers=None, operators=None, source_id=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__ str(object=’‘) -> str __hash__ __module__ str(object=’‘) -> str __weakref__ list of weak references to the object (if defined) alternate_code From the StationXML definition: code historical_code From the StationXML definition: identifiers operators selected_number_of_stations source_id 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 the 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__ __format__ default object formatter __getitem__ __init__ type code: str __len__ __ne__ __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__ __subclasshook__ Abstract classes can override this to customize issubclass().