Schema: SignalGroup

(v0.0.1)

SignalGroup

kind: SignalGroup
metadata:
  name: string
  labels:
    property1: string
    property2: string
  annotations:
    ? property1
    ? property2
spec:
  signals:
    - signal: string
      transform:
        linear:
          factor: 2.5
          offset: 1
        functions:
          vector:
            lua: |
              return function(s_vector)
                return s_vector * 10
              end              
          model:
            lua: |
              return function(s_model)
                return s_model + 3
              end              
      annotations:
        ? property1
        ? property2
  functions:
    lua: string
  timing:
    phase: 0
    interval: 0

A signal group definition.

Properties

NameTypeRequiredDescription
kindstringtruenone
metadataobjectfalseInformation relating to an object.
» namestringfalseThe name of the object.
» labelsobjectfalseIdentifying information used to identify objects within the system (e.g. giving a specific ’label’ to an object).
»» additionalPropertiesstringfalsenone
» annotationsobjectfalseNon identifying information (i.e. information specific to the object itself).
»» additionalPropertiesanyfalsenone
specSignalGroupSpectruenone

Enumerated Values

PropertyValue
kindSignalGroup

SignalGroupSpec

signals:
  - signal: string
    transform:
      linear:
        factor: 2.5
        offset: 1
      functions:
        vector:
          lua: |
            return function(s_vector)
              return s_vector * 10
            end            
        model:
          lua: |
            return function(s_model)
              return s_model + 3
            end            
    annotations:
      ? property1
      ? property2
functions:
  lua: string
timing:
  phase: 0
  interval: 0

Properties

NameTypeRequiredDescription
signals[Signal]trueA list of signals belonging to this signal group.
functionsobjectfalseA map of function types supporting transformations of this signal group.
» luastringfalseInline Lua script.
timingobjectfalseSignal Group time modelling, applies to all contained signals.
» phasenumberfalsePhase offset relative to source or reference.
» intervalnumberfalseTime interval between updates, samples, or cycles.

Signal

signal: string
transform:
  linear:
    factor: 2.5
    offset: 1
  functions:
    vector:
      lua: |
        return function(s_vector)
          return s_vector * 10
        end        
    model:
      lua: |
        return function(s_model)
          return s_model + 3
        end        
annotations:
  ? property1
  ? property2

A signal definition.

Properties

NameTypeRequiredDescription
signalstringtrueThe name of the signal.
transformobjectfalseA transformation definition.
» linearobjectfalseRepresents a linear transformation in the form:
$S_{\mathrm{model}} = S_{\mathrm{vector}} \cdot factor + offset$
»» factornumber(double)truenone
»» offsetnumber(double)truenone
» functionsobjectfalseRepresents a function transformation in the forms: - $S_{\mathrm{model}} = f(S_{\mathrm{vector}})$
This function transform is applied after all other transforms.
- $S_{\mathrm{vector}} = f(S_{\mathrm{model}})$
This function transform is applied before all other transforms.
»» modelobjectfalseDetermine the Model value based on the Transform of the Vector value.
»»» luastringfalseInline Lua script.
»» vectorobjectfalseDetermine the Vector value based on the Transform of the Model value.
»»» luastringfalseInline Lua script.
» timingobjectfalseSignal level time modelling.
»» phasenumberfalsePhase offset relative to source or reference.
»» intervalnumberfalseTime interval between updates, samples, or cycles.
annotationsobjectfalseNon identifying information (i.e. information specific to the object itself).
» additionalPropertiesanyfalsenone

undefined