DbSensorComponentParameter

class mss_dataserver.geometry.db_inventory.DbSensorComponentParameter(orm=None, **kwargs)[source]

Bases: mss_dataserver.geometry.inventory.SensorComponentParameter

The database sensor component parameter.

Parameters

orm (mss_data_server.geometry.databaseFactory.GeomSensorComponentParameter) – The sqlalchemy table mapper class.

Keyword Arguments

**kwargs – The keyword arguments passed to the __init__ method of the parent class mss_dataserver.geoemetry.inventory.SensorComponentParameter.

Properties

end_time_string

str: The end time of the active parameter period.

id

int: The database id.

parent_inventory

Inventory: The inventory containing the parameter.

poles_string

str: A string representation of the transfer function poles.

start_time_string

str: The start time of the active parameter period.

zeros_string

str: A string representation of the transfer functin zeros.

Methods

__init__([orm])

Initialize the instance.

from_inventory_instance(parent_component, …)

Create a DbSensorComponentParameter instance from a mss_data_server.geometry.inventory.SensorComponentParameter instance.

from_sqlalchemy_orm(parent_component, orm)

Create a DbSensorComponentParameter instance from a mss_data_server.geometry.databaseFactory.GeomSensorComponentParameter table mapper class.

set_transfer_function(tf_type, tf_units, …)

Set the transfer function parameters.

tf_add_complex_pole(pole)

Add a complex pole to the transfer function.

tf_add_complex_zero(zero)

Add a complex zero to the transfer function.

Inheritence diagram

Inheritance diagram of mss_dataserver.geometry.db_inventory.DbSensorComponentParameter