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 by obspy.UTCDateTime or a obspy.UTCDateTime instance

  • parent_inventory (Inventory) – The inventory instance containing the sensor.

Methods

__init__(serial, model, producer[, …])

Initialize the instance

add_component(component_to_add)

Add a component to the sensor.

get_component(**kwargs)

Get a component from the sensor.

merge(merge_sensor)

Merge a sensor to the existing.

pop_component(**kwargs)

Remove a component from the sensor.

pop_component_by_instance(component)

Remove a component from the sensor using the component instance.

Inheritence diagram

Inheritance diagram of mss_dataserver.geometry.inventory.Sensor