Skip to main content

Sensor ontology

Functions

bus(Type wt)->Function

The time signal data bus stream generator for signal wrapper type wt f()-> Stream of Vector e Each element e has format [ts, ns, v] where ts is a timestamp, ns is the name of a signal in signals, and v is the values of ns


doc(Signal s)->Charstring

Documentation of signal s


edges_with_signal(Charstring uid)->Vector of Charstring

The name of the edges having a signal with universal name uid


filtered_bus(Type wt)->Function

The time signal data bus stream generator for signal wrapper type wt that can take a filter with signal names. f(Vector of Charstring signals)-> Stream of Vector e Each element e has format [ts, ns, v] where ts is a timestamp, ns is the name of a signal in signals, and v is the values of signal ns


name(Signal s)->Charstring nm

The name of signal s


options(Signal s)->Record

The meta-data of signal s


signals()->Bag of Charstring

All sensor mapping defined in the ontology


signals_named(Vector of Charstring nml)->Vector of Signal

Find signals named nml


signal_named(Charstring nm)->Signal s

Find signal named nm


signal_stream(Signal s)->Stream

Non-timestamed signal stream for signal s


signal_stream(Charstring sn)->Stream

Non-timestamed signal stream for signal named sn


ts_signal_stream(Signal s)->Stream of Timeval

Time stamped signal stream for signal s Overridden by wrapper signals under s


ts_signal_stream(Charstring sn)->Stream of Timeval

Time stamped signal stream for signal named sn


tuple_stream(Type wt)->Function f

The time stamped tuple stream function f(Vector of Charstring signals)->Stream of Timeval of Vector for signal wrapper type wt