BrainStreamPlugIns: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:


In order to import a table, you only have to specify the reference to it in your main Actions table. A simplified example of an imported table is given below:
In order to import a table, you only have to specify the reference to it in your main Actions table. A simplified example of an imported table is given below:
{| border="1"
{| class="wikitable"
|-
|-
!colspan="5"| '''Main Actions Table'''  
!colspan="5"| '''Main Actions Table'''  
Line 29: Line 29:
|}
|}
<br />
<br />
{| border="1"
{| class="wikitable"
|-
|-
!colspan="3"| '''Main Dictionary Table'''
!colspan="3"| '''Main Dictionary Table'''
Line 40: Line 40:
At the BS_INIT marker, the BCI experiment will be initialized and subsequently a BCI processing pipeline will be executed. Let's assume that inside this processing pipeline is a function that inserts a marker whenever a picture needs to be shown. The presentation of pictures is taken care of by the Pictures table (@Pictures):
At the BS_INIT marker, the BCI experiment will be initialized and subsequently a BCI processing pipeline will be executed. Let's assume that inside this processing pipeline is a function that inserts a marker whenever a picture needs to be shown. The presentation of pictures is taken care of by the Pictures table (@Pictures):


{| border="1"
{| class="wikitable"
|-
|-
!colspan="5"| '''Imported Actions table'''
!colspan="5"| '''Imported Actions table'''
Line 57: Line 57:
|}
|}
<br />
<br />
{| border="1"
{| class="wikitable"
|-
|-
!colspan="3"| '''Imported Dictionary table'''
!colspan="3"| '''Imported Dictionary table'''
Line 86: Line 86:
At the start of each BrainStream experiment, the main experiment definition tables and all references to import-tables will be combined into one table, a process called table expansion. This means that all Action tables will be integrated into a single Action table, and the same is true for the DataSelection and Dictionary tables. Thus, in the example mentioned above, the expanded tables would look like this:
At the start of each BrainStream experiment, the main experiment definition tables and all references to import-tables will be combined into one table, a process called table expansion. This means that all Action tables will be integrated into a single Action table, and the same is true for the DataSelection and Dictionary tables. Thus, in the example mentioned above, the expanded tables would look like this:


{| border="1"
{| class="wikitable"
|-
|-
| '''Expanded Actions Table''' || || || ||
!colspan="5"| '''Expanded Actions Table'''
|-
|-
| <strong>marker <br /></strong> || <strong>time <br /></strong> || <strong>function <br /></strong> || <strong>All_Pictures <br /></strong> || <strong>Picture </strong>  
| <strong>marker <br /></strong> || <strong>time <br /></strong> || <strong>function <br /></strong> || <strong>All_Pictures <br /></strong> || <strong>Picture </strong>  
Line 103: Line 103:
|-
|-
| end || EVENT || show_picture || get || 'end.jpg', get  
| end || EVENT || show_picture || get || 'end.jpg', get  
 
|}
<br />
{| class="wikitable"
|-
|-
| '''Expanded Dictionary Table''' || ||
!colspan="3"| '''Expanded Dictionary Table'''
|-
|-
| <strong>marker <br /></strong> || <strong>type <br /></strong> || <strong>value <br /></strong>  
| <strong>marker <br /></strong> || <strong>type <br /></strong> || <strong>value <br /></strong>  
Line 118: Line 120:
|-
|-
| end || stimulus || 14  
| end || stimulus || 14  
|}
|}
 
<br />
When the experiment is finished, you can find the expanded tables in the [.DocsSectionsLogFile Log file]. Additionally, if you are using the [[BrainStreamBrainStreamEditor|BrainStream editor]], you can view your expanded tables before running the experiment by clicking on the 'Expand table' button.
When the experiment is finished, you can find the expanded tables in the [.DocsSectionsLogFile Log file]. Additionally, if you are using the [[BrainStreamBrainStreamEditor|BrainStream editor]], you can view your expanded tables before running the experiment by clicking on the 'Expand table' button.