Sweep

Module that sweeps the output from min to max in steps set by step. Restarts when min (or max) is reached. Can be one or two dimensional depending on whether outputsize_x and outputsize_y or only outputsize is used in the xml definition. When the output contains more than one elements, they all have the same value.

Example XML definition

Example

  <module
      class = "Sweep"
      name = "Sweep"
      outputsize_x = "5"
      outputsize_y = "3"
      min = "0"
      max = "10"
      step = "0.1"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Sweep".string
nameThe name of this instance of the module.string
outputsizeSize of one dimensional outputint
outputsize_xSize of two dimensional outputint
outputsize_ySize of two dimensional outputint
minMinimum outputfloat0.0
maxMaximal outputfloat1.0
stepChange each tickfloat0.1

Module Connections

Outputs

NameDescription
OUTPUTThe output with value that sweeps between min and ma

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

Sweep.h
Sweep.cc
Sweep.ikc