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.


__doc__ str(object=’‘) -> str
__module__ str(object=’‘) -> str
__weakref__ list of weak references to the object (if defined)
alternate_code From the StationXML definition:
historical_code From the StationXML definition:

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


Private methods are mainly for internal/developer use and their API might change without notice.


Special Methods

__dir__ default dir() implementation
__format__ default object formatter
type code:str
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__subclasshook__ Abstract classes can override this to customize issubclass().