Changes

Jump to navigation Jump to search
13 bytes removed ,  12:51, 26 September 2018
no edit summary
Line 2: Line 2:  
= Fields of the Event Structure =
 
= Fields of the Event Structure =
   −
Every incoming marker instatiates a new [[BrainStreamImportantConcepts#SecEvents|event]. The event structure contains a number of fixed fields:
+
Every incoming marker instatiates a new [[BrainStreamImportantConcepts#SecEvents|event]]. The event structure contains a number of fixed fields:
<pre>event.name                  : name of the marker
+
<pre>
 +
event.name                  : name of the marker
 
event.time                  : time [s] referred to number of acquired samples
 
event.time                  : time [s] referred to number of acquired samples
event.brainstreamversion    : current version of [[BrainStream|Brain Stream]]
+
event.brainstreamversion    : current version of BrainStream  
</pre> If a DATA timepoint is specified for the event, the event structure also contains the following fields: <br /><pre>
+
</pre>  
event.BRAINSTREAM            : contains information required for internal [[BrainStream|Brain Stream]] processing
+
If a DATA timepoint is specified for the event, the event structure also contains the following fields: <br />
 +
<pre>
 +
event.BRAINSTREAM            : contains information required for internal BrainStream processing
 
     .data.raw              : raw data [channels x data]
 
     .data.raw              : raw data [channels x data]
 
     .trial.time            : start of data segment [s]
 
     .trial.time            : start of data segment [s]
Line 24: Line 27:  
  </pre>
 
  </pre>
   −
*: channel and label information can be grouped together based on settings specified for corresponding hardware device topic in the blocksettings. It uses fieldrips <tt>ft_channelselection</tt> function to match channels that belong to certain groups, like 'EEG' or 'EOG'. The data for the selected channels appears in a separate field. For example, if you defined a group of eeg electrodes, the data for these electrodes shows up in event.data.eeg. See [[Http://fieldtrip.fcdonders.nl/reference/ft_channelselectionChannelSelection|http://fieldtrip.fcdonders.nl/reference/ft_channelselection channel selection]] on the FieldTrip website for more options.
+
<nowiki>*</nowiki>: channel and label information can be grouped together based on settings specified for corresponding hardware device topic in the blocksettings. It uses fieldrips <tt>ft_channelselection</tt> function to match channels that belong to certain groups, like 'EEG' or 'EOG'. The data for the selected channels appears in a separate field. For example, if you defined a group of eeg electrodes, the data for these electrodes shows up in event.data.eeg. See [[Http://fieldtrip.fcdonders.nl/reference/ft_channelselectionChannelSelection|http://fieldtrip.fcdonders.nl/reference/ft_channelselection channel selection]] on the FieldTrip website for more options.
    
Depending on the utilized data source, additional fields might be present inside the hdr structure.
 
Depending on the utilized data source, additional fields might be present inside the hdr structure.

Navigation menu