Skip to main content

Sensor ontology

BUS

bus(Type wt) -> Function
STABLE

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

doc(Signal s) -> Charstring
STABLE

Documentation of signal s


EDGES_WITH_SIGNAL

edges_with_signal(Charstring uid) -> Vector of Charstring
STABLE

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


FILTERED_BUS

filtered_bus(Type wt) -> Function
STABLE

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

name(Signal s) -> Charstring nm
STABLE

The name of signal s


OPTIONS

options(Signal s) -> Record
STABLE

The meta-data of signal s


SIGNALS

signals( ) -> Bag of Charstring
STABLE

All sensor mapping defined in the ontology


SIGNALS_NAMED

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

Find signals named nml


SIGNAL_NAMED

signal_named(Charstring nm) -> Signal s
STABLE

Find signal named nm


SIGNAL_STREAM

signal_stream(Signal s) -> Stream
STABLE

Non-timestamed signal stream for signal s


signal_stream(Charstring sn) -> Stream
STABLE

Non-timestamed signal stream for signal named sn


TS_SIGNAL_STREAM

ts_signal_stream(Signal s) -> Stream of Timeval
STABLE

Time stamped signal stream for signal s

 Overridden by wrapper signals under `s` 

ts_signal_stream(Charstring sn) -> Stream of Timeval
STABLE

Time stamped signal stream for signal named sn


TUPLE_STREAM

tuple_stream(Type wt) -> Function f
STABLE

The time stamped tuple stream function

 `f(Vector of Charstring signals)->Stream of Timeval of Vector`
for signal wrapper type `wt`