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. 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
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "Sweep". | string | |
name | The name of this instance of the module. | string | |
outputsize | Size of one dimensional output | int | |
outputsize_x | Size of two dimensional output | int | |
outputsize_y | Size of two dimensional output | int | |
min | Minimum output | float | 0.0 |
max | Maximal output | float | 1.0 |
step | Change each tick | float | 0.1 |
Module Connections
Outputs
Name | Description |
---|---|
OUTPUT | The output with value that sweeps between min and max |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
Sweep.h
Sweep.cc
Sweep.ikc