BrainStreamExampleSpellerPart1: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
Below, a flowchart of the Train block is shown:
Below, a flowchart of the Train block is shown:


[[File:DocsSectionsExampleSpellerPart1.flowchart.png|656px|261x]]
[[File:DocsSectionsExampleSpellerPart1_flowchart.png|656px|261x]]


''Figure 1: Flowchart''
''Figure 1: Flowchart''
Line 32: Line 32:
A [[BrainStreamPlugIns|imported] table (StimDisplay in speller_common) is used to define all actions related to stimulus presentation. You can see the reference to this imported table in the 9th row of the main Actions table: '@speller_common.edt StimDisplay'. The imported table is shown below:
A [[BrainStreamPlugIns|imported] table (StimDisplay in speller_common) is used to define all actions related to stimulus presentation. You can see the reference to this imported table in the 9th row of the main Actions table: '@speller_common.edt StimDisplay'. The imported table is shown below:


[[File:DocsSectionsExampleSpellerPart1.speller_common_actions_2.png|832px|167x]]
[[File:DocsSectionsExampleSpellerPart1_speller_common_actions_2.png|832px|167x]]


''Figure 2: StimDisplay imported table.''
''Figure 2: StimDisplay imported table.''
Line 66: Line 66:
As explained in the introduction, the visual speller is based on the brain response to the flashing rows and columns. Therefore, we need to collect a certain amount of data after each flash. The highlightGrid function (see the [[#StimPres|Stimulus presentation section]]), inserts a marker highlightOn each time a row or column of the grid is highlighted. As we need accurate synchronization with the data, this marker is inserted [[BrainStreamMarkerHandling#HardwareMarker|via the hardware]]. Data selection is specified for the highlightOn marker in the speller_common import-table. This is the import-tables' [[BrainStreamBuildingExperiments#SecDataSel|DataSelection table]:
As explained in the introduction, the visual speller is based on the brain response to the flashing rows and columns. Therefore, we need to collect a certain amount of data after each flash. The highlightGrid function (see the [[#StimPres|Stimulus presentation section]]), inserts a marker highlightOn each time a row or column of the grid is highlighted. As we need accurate synchronization with the data, this marker is inserted [[BrainStreamMarkerHandling#HardwareMarker|via the hardware]]. Data selection is specified for the highlightOn marker in the speller_common import-table. This is the import-tables' [[BrainStreamBuildingExperiments#SecDataSel|DataSelection table]:


[[File:DocsSectionsExampleSpellerPart1.speller_common_data.png|456px|53x]]
[[File:DocsSectionsExampleSpellerPart1_speller_common_data.png|456px|53x]]


''Figure 4: DataSelection table''
''Figure 4: DataSelection table''