Changes

Jump to navigation Jump to search
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 45: Line 45:  
| stimSequence || several repetitions of highlighting all rows (1-3) and columns (4-6) || 231546 132654 312645 ...  
 
| stimSequence || several repetitions of highlighting all rows (1-3) and columns (4-6) || 231546 132654 312645 ...  
 
|-
 
|-
| stimDict || <p>dictionary: translates stimulus numbers to grids with ones for <br />highlighted elements and zeros for non highlighted elements</p> || [[File:DocsSectionsExampleSpellerPart1_stimDict.png|225px|61x]]  
+
| stimDict || <p>dictionary: translates stimulus numbers to grids with ones for <br />highlighted elements and zeros for non highlighted elements</p> || [[File:DocsSectionsExampleSpellerPart1_StimDict.png|225px|61x]]  
 
|-
 
|-
 
| stimCode || current stimulus number || 3  
 
| stimCode || current stimulus number || 3  
 
|-
 
|-
| curStim || <p>current stimulus grid (ones for highlighted elements and <br />zeros for non highlighted elements)</p> || [[File:DocsSectionsExampleSpellerPart1_curStim.png|78px|66x]]  
+
| curStim || <p>current stimulus grid (ones for highlighted elements and <br />zeros for non highlighted elements)</p> || [[File:DocsSectionsExampleSpellerPart1_CurStim.png|78px|66x]]  
    
|}
 
|}
Line 62: Line 62:     
When the sequence is initialized, the epoch counter is increased by 1 and the speller grid is shown. Immediately afterwards, the highlightGrid function is executed. This function determines the number of the current stimulus (stimCode) and the corresponding grid (curStim), displays the correct image on the screen and inserts the marker highlightOn. After 0.05 seconds, the non-highlighted grid is shown. Another 0.05 seconds later, a decision is made whether to show another stimulus or end the sequence.
 
When the sequence is initialized, the epoch counter is increased by 1 and the speller grid is shown. Immediately afterwards, the highlightGrid function is executed. This function determines the number of the current stimulus (stimCode) and the corresponding grid (curStim), displays the correct image on the screen and inserts the marker highlightOn. After 0.05 seconds, the non-highlighted grid is shown. Another 0.05 seconds later, a decision is made whether to show another stimulus or end the sequence.
 +
 
== Data selection ==
 
== Data selection ==
  

Navigation menu