Sensor¶
-
class
mss_dataserver.geometry.inventory.
Sensor
(serial, model, producer, description=None, author_uri=None, agency_uri=None, creation_time=None, parent_inventory=None)[source]¶ Bases:
object
A seismic sensor.
- Parameters
serial (str) – The serial number of the sensor.
model (str) – The model name or number of the sensor.
producer (str) – The name of the producer of the sensor.
description (str) – A description of the sensor.
author_uri (string) – The author_uri of the sensor.
agency_uri (String) – The agency_uri of the sensor.
creation_time (str or
obspy.UTCDateTime
) – The creation time of the event. A string that can be parsed byobspy.UTCDateTime
or aobspy.UTCDateTime
instanceparent_inventory (
Inventory
) – The inventory instance containing the sensor.
Methods¶
|
Initialize the instance |
|
Add a component to the sensor. |
|
Get a component from the sensor. |
|
Merge a sensor to the existing. |
|
Remove a component from the sensor. |
|
Remove a component from the sensor using the component instance. |