TWiki> BrainStreamDocs Web>BrainStreamDocs? >DocsSectionsEventFields (revision 2)EditAttach

Fields of the Event Structure

Generate current PDF

Every incoming marker instatiates a new event. The event structure contains a number of fixed fields:                   : name of the marker
event.time                   : time [s] referred to number of acquired samples
event.brainstreamversion     : current version of BrainStream 
If a DATA timepoint is specified for the event, the event structure also contains the following fields:               : raw data [channels x data]
          .eeg               : eeg data (only if information about eeg channels is available)
          .trial.time        : start of data segment [s]
          .trial.samp        : always set to 1
          .trial.offset      : start of data [#samples] 
          .trial.duration    : number of samples
      hdr.Fs                 : sample frequency      
         .channels.*         : see remarks below 
         .labels.*           : see remarks below
         .Cal                : raw data calibration matrix
         .nChans             : number of channels
         .label              : all channel labels (compatible with fieldtrip)
         .orig               : always original header information
         .usedcap            : name of cap used in current block (user should take care of further handling) 
event.trial                  : same as 

*: channel and label information can be grouped together based on settings specified for corresponding hardware device topic in the blocksettings. It uses fieldrips ft_channelselection function to match channels that belong to certain groups, like 'EEG' or 'EOG'. See fieldtrip website ( for more options.

Dependent of the utilized data source, additional fields might be present inside the hdr structure.
In addition, requested copies of global variables appear as separate fields of the event structure (for more information see the Global Variables section).

Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 10 Oct 2011 - 09:39:06 - MarjoleinVanDerWaal
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback