Jump to content

User Reference:ConditionalIntegrator: Difference between revisions

From BCI2000 Wiki
Mellinger (talk | contribs)
Mellinger (talk | contribs)
No edit summary
Line 3: Line 3:


Typically, the ''ConditionalIntegrator'' is used in off-line analysis of data collected in a cursor movement paradigm.
Typically, the ''ConditionalIntegrator'' is used in off-line analysis of data collected in a cursor movement paradigm.
During on-line operation, the feedback cursor's position represents the integral of the [[Glossary#Control Signal|control signal]].
During on-line operation, the feedback cursor's position represents the integral of the [[BCI2000 Glossary#Control Signal|control signal]].
For off-line parameter simulation experiments, the ''ConditionalIntegrator'' performs this integration, resulting in an output equivalent to cursor position on the feedback screen.
For off-line parameter simulation experiments, the ''ConditionalIntegrator'' performs this integration, resulting in an output equivalent to cursor position on the feedback screen.



Revision as of 19:43, 8 November 2007

Function

The ConditionalIntegrator filter accumulates (integrates) its input signal over time, depending on the value of a given boolean expression.

Typically, the ConditionalIntegrator is used in off-line analysis of data collected in a cursor movement paradigm. During on-line operation, the feedback cursor's position represents the integral of the control signal. For off-line parameter simulation experiments, the ConditionalIntegrator performs this integration, resulting in an output equivalent to cursor position on the feedback screen.

Parameters

IntegrationCondition

A boolean expression that determines whether the signal is integrated. When the expression first evaluates to true, the filter's output is set to zero. Then, while the expression evaluates to true, filter input is integrated, and the integral is returned as the filter output. When the expression first evaluates to false, filter output is constant, until the expression again evaluates to true.

States

Any existing state may be part of the IntegrationCondition expression.

Example

A typical feedback task sets the Feedback state to 1 during cursor movement. Accordingly, one would use

IntegrationCondition= Feedback

in an off-line simulation.

See also

User Reference:Expression Syntax, User Reference:StateTransform