<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.bci2000.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Contributions%3ASWSignalProcessing</id>
	<title>Contributions:SWSignalProcessing - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.bci2000.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Contributions%3ASWSignalProcessing"/>
	<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:SWSignalProcessing&amp;action=history"/>
	<updated>2026-06-23T02:04:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:SWSignalProcessing&amp;diff=2787&amp;oldid=prev</id>
		<title>Mellinger at 18:00, 13 December 2007</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:SWSignalProcessing&amp;diff=2787&amp;oldid=prev"/>
		<updated>2007-12-13T18:00:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:00, 13 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l120&quot;&gt;Line 120:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 120:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*ArteMode 2 will correct the signal according to Koutchoubey, 1997: If the artifact signal has the same sign as the control signal, a correction is applied by subtracting the artifact signal; otherwise, no correction is performed. If the artifact crosses a threshold value, feedback is suppressed.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*ArteMode 2 will correct the signal according to Koutchoubey, 1997: If the artifact signal has the same sign as the control signal, a correction is applied by subtracting the artifact signal; otherwise, no correction is performed. If the artifact crosses a threshold value, feedback is suppressed.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*ArteMode 3 is working identically to ArteMode 2 but sets the Artifact state to 1 when the feedback is set to zero.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*ArteMode 3 is working identically to ArteMode 2 but sets the Artifact state to 1 when the feedback is set to zero.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Following states are used:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====States====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====States====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Following states are used:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Artifact (bool) is set to 1 only in ArteMode=3 when the feedback signal is set  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Artifact (bool) is set to 1 only in ArteMode=3 when the feedback signal is set  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to zero due to the EOG artifact BeginOfTrial is checked to trigger the start of  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to zero due to the EOG artifact BeginOfTrial is checked to trigger the start of  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb-bci_:diff:1.41:old-2784:rev-2787:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Mellinger</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:SWSignalProcessing&amp;diff=2784&amp;oldid=prev</id>
		<title>Mellinger: /* States */</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:SWSignalProcessing&amp;diff=2784&amp;oldid=prev"/>
		<updated>2007-12-13T17:58:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;States&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:58, 13 December 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l126&quot;&gt;Line 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to zero due to the EOG artifact BeginOfTrial is checked to trigger the start of  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;to zero due to the EOG artifact BeginOfTrial is checked to trigger the start of  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the trial and reset the internal counter.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the trial and reset the internal counter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;==See also==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[User Reference:Filters]], [[Contributions:SignalProcessing]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Contributions]][[Category:Signal Processing]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb-bci_:diff:1.41:old-2782:rev-2784:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Mellinger</name></author>
	</entry>
	<entry>
		<id>https://www.bci2000.org/mediawiki/index.php?title=Contributions:SWSignalProcessing&amp;diff=2782&amp;oldid=prev</id>
		<title>Mellinger at 17:52, 13 December 2007</title>
		<link rel="alternate" type="text/html" href="https://www.bci2000.org/mediawiki/index.php?title=Contributions:SWSignalProcessing&amp;diff=2782&amp;oldid=prev"/>
		<updated>2007-12-13T17:52:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Synopsis==&lt;br /&gt;
A signal processing module for slow wave feedback.&lt;br /&gt;
&lt;br /&gt;
==Location==&lt;br /&gt;
http://{{SERVERNAME}}/svn/trunk/src/contrib/SignalProcessing/SW&lt;br /&gt;
&lt;br /&gt;
==Versioning==&lt;br /&gt;
===Authors===&lt;br /&gt;
Dr. Thilo Hinterberger, J&amp;amp;uuml;rgen Mellinger, University of T&amp;amp;uuml;bingen.&lt;br /&gt;
===Source Code Revisions===&lt;br /&gt;
*Initial development: 45&lt;br /&gt;
*Tested under: 946&lt;br /&gt;
*Known to compile under: 1528&lt;br /&gt;
*Broken since: --&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
The calculation of the Slow-Wave feedback signal is subdivided into three &lt;br /&gt;
modules: The SW-Filter, which is realized as an efficient boxcar-filter, the &lt;br /&gt;
SetBaseline module, which subtracts a defined baseline from the signal and an &lt;br /&gt;
artifact correction module, which contains two different artifact correction &lt;br /&gt;
modes.  &lt;br /&gt;
&lt;br /&gt;
===Temporal SW-Filter===&lt;br /&gt;
====Parameters====&lt;br /&gt;
The SW-Filter uses the following parameters:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SWFilter int SWAvgSpan= 0.5 0.5 0 10 &lt;br /&gt;
         // Averaging window in s&lt;br /&gt;
SWFilter intlist SWInChList= 3 0 1 2 0 0 63 &lt;br /&gt;
         // Channel index of input signal (include artifact channel!)&lt;br /&gt;
SWFilter intlist SWOutChList= 3 0 1 2 0 0 63 &lt;br /&gt;
         // Channel index of output signal (include artifact channel!)&lt;br /&gt;
SWFilter floatlist ThresholdAmp= 3 100 100 400 200 -2000 2000 &lt;br /&gt;
         // Threshold for invalid Trial in uV&lt;br /&gt;
SWFilter float Tc= 0 16 0 1024 &lt;br /&gt;
         // Time constant filter settings in s&lt;br /&gt;
Visualize int VisualizeSWFiltering= 1 0 0 1  &lt;br /&gt;
          // visualize SW filtered signals (0=no 1=yes)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SWAvgSpan defines the time window of the boxcar-filter. SWInChList defines, &lt;br /&gt;
which channels from Signal B are filtered. They are sorted to the channels in &lt;br /&gt;
Signal C which are selected in SWOutChList. In the Standard setting, three &lt;br /&gt;
channels are filtered. The ThresholdAmp is an artifact control parameter. In &lt;br /&gt;
between one trial (from one BeginOfTrial to the next), the amplitude is not &lt;br /&gt;
allowed to vary more than the in ThresholdAmp defined size in muV. Otherwise the &lt;br /&gt;
trial should be neglected and set as invalid in the application module (state &lt;br /&gt;
Artifact is set to one).&lt;br /&gt;
&lt;br /&gt;
A time constant (Tc) correction function simulates a &lt;br /&gt;
real DC-behaviour, even if the amplifier has no DC-option. This can be done by &lt;br /&gt;
the knowledge of the amplifiers&amp;#039; time constant, which is set as the parameter &lt;br /&gt;
Tc. To avoid that the signal will drift towards very high positive or negative &lt;br /&gt;
values, the correction signal is set to zero each time, when BeginOfTrial is &lt;br /&gt;
one. Tc=0 will switch off the Tc-correction. Note: The Tc-correction will only &lt;br /&gt;
work properly, when the A/D-converter and the amplifier puts out 0 when the &lt;br /&gt;
input is 0 muV and there is no electrode polarization! If you are not sure, &lt;br /&gt;
switch off this correction.&lt;br /&gt;
&lt;br /&gt;
====States====&lt;br /&gt;
Following states are used:&lt;br /&gt;
Artifact (bool) is set to 1 when the signal changes exceed the threshold values defined in ThresholdAmp (see below).  &lt;br /&gt;
BeginOfTrial is checked to trigger the start of the trial and reset the internal counter.&lt;br /&gt;
&lt;br /&gt;
===Baseline Setting===&lt;br /&gt;
====Parameters====&lt;br /&gt;
The SW-Filter uses the following parameters:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
BLFilter float BaseBegin= 0.9 1.9 0 60 &lt;br /&gt;
         // Begin of Baseline in s&lt;br /&gt;
BLFilter float BaseEnd= 1.0 2.0 0 60 &lt;br /&gt;
         // End of Baseline in s&lt;br /&gt;
BLFilter intlist BaseChList= 3 1 1 1 1 0 1 &lt;br /&gt;
         // 1 to mark that BL is subtracted&lt;br /&gt;
Visualize int VisualizeBaselineFiltering= 1 0 0 1  &lt;br /&gt;
          // visualize baseline filtered signals (0=no 1=yes)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The baseline is set each trial at the time point BaseEnd seconds after &lt;br /&gt;
BeginOfTrial was set to one. The baseline amplitude is the average amplitude in &lt;br /&gt;
the time interval between BaseBegin and BaseEnd. The baseline is subtracted of &lt;br /&gt;
all channels marked with 1 in the BaseChList. As default, baseline subtraction &lt;br /&gt;
is applied on all three channels.&lt;br /&gt;
&lt;br /&gt;
This version still uses the parameters BIPts and FIPts, which define the &lt;br /&gt;
duration of the baseline-interval and the feedback-interval in seconds. These &lt;br /&gt;
parameters are used for the buffer, which needs the duration of a trial. They &lt;br /&gt;
will be no longer used in the next version.  &lt;br /&gt;
&lt;br /&gt;
====States====&lt;br /&gt;
Following states are used:&lt;br /&gt;
Baseline (bool) is set to 1 during the baseline period between BaseBegin and BaseEnd. Otherwise it is zero.&lt;br /&gt;
BeginOfTrial is checked to trigger the start of the trial and reset the internal counter.&lt;br /&gt;
&lt;br /&gt;
===Artifact Correction===&lt;br /&gt;
====Parameters====&lt;br /&gt;
The SW-Filter uses the following parameters:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ArteFilter intlist ArteChList= 3 2 2 -1 2 -1 63&lt;br /&gt;
  // Assignment of artefact channels, -1: no artifact channel&lt;br /&gt;
ArteFilter floatlist ArteFactorList= 7 0.15 0.15 0 0 0 0 0 0 -1 1&lt;br /&gt;
  // Influence of artefact channel on input channel,&lt;br /&gt;
     -1: no artifact channel&lt;br /&gt;
ArteFilter int ArteMode= 0 1 0 3&lt;br /&gt;
  // Artefact correction mode, 0 off, 1 continuous, 2 conditioned&lt;br /&gt;
Visualize int VisualizeFBArteCorFiltering= 1 0 0 1 &lt;br /&gt;
  // visualize FBArte corrected signals (0=no 1=yes)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Artifacts are corrected on all channels which are not marked with -1&lt;br /&gt;
in the ArteChList. For the correction, the channel number at the&lt;br /&gt;
position of the channel in the ArteChList is used as artifact channel.&lt;br /&gt;
For example, the standard setting corrects the channels 0 and 1 by using&lt;br /&gt;
channel 2 for the correction. The correction factor is the factor set&lt;br /&gt;
in ArteFactorList, 0.15 in the standard setting.&lt;br /&gt;
&lt;br /&gt;
For the ArteMode parameter, the following values are possible: &lt;br /&gt;
*ArteMode 0 switches this filter off.&lt;br /&gt;
*ArteMode 1 will subtract the artifact channel multiplied with a constant factor.&lt;br /&gt;
*ArteMode 2 will correct the signal according to Koutchoubey, 1997: If the artifact signal has the same sign as the control signal, a correction is applied by subtracting the artifact signal; otherwise, no correction is performed. If the artifact crosses a threshold value, feedback is suppressed.&lt;br /&gt;
*ArteMode 3 is working identically to ArteMode 2 but sets the Artifact state to 1 when the feedback is set to zero.&lt;br /&gt;
Following states are used:&lt;br /&gt;
&lt;br /&gt;
====States====&lt;br /&gt;
Artifact (bool) is set to 1 only in ArteMode=3 when the feedback signal is set &lt;br /&gt;
to zero due to the EOG artifact BeginOfTrial is checked to trigger the start of &lt;br /&gt;
the trial and reset the internal counter.&lt;/div&gt;</summary>
		<author><name>Mellinger</name></author>
	</entry>
</feed>