obspy.core.inventory.channel.Channel

class Channel(code, location_code, latitude, longitude, elevation, depth, azimuth=None, dip=None, types=None, external_references=None, sample_rate=None, sample_rate_ratio_number_samples=None, sample_rate_ratio_number_seconds=None, storage_format=None, clock_drift_in_seconds_per_sample=None, calibration_units=None, calibration_units_description=None, sensor=None, pre_amplifier=None, data_logger=None, equipment=None, response=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:
Equivalent to SEED blockette 52 and parent element for the related response blockettes.

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:
azimuth
clock_drift_in_seconds_per_sample
code
depth
dip
elevation
historical_code From the StationXML definition:
latitude
location_code
longitude
sample_rate

Public Methods

copy Returns a deepcopy of the object.
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 Show bode plot of the channel’s instrument response.

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
__init__
type code:str
__ne__
__new__ Create and return a new object.
__reduce__ helper for pickle
__reduce_ex__ helper for pickle
__sizeof__ size of object in memory, in bytes
__str__
__subclasshook__ Abstract classes can override this to customize issubclass().