Changes

Jump to navigation Jump to search
2,584 bytes added ,  10:51, 11 February 2019
no edit summary
Line 1: Line 1: −
= Brainvision EEG =  
+
{{Infobox tsg
[[File:brain-vision-llc.png|right|200px|Image: 200 pixels]]
+
| name          = Brainvision
 +
| image          = Logo brainproducts.png
 +
| caption        = <br />Files provided on your Wiki page are neither provided by Brain Products nor up to date; The most current versions of all these files can be found on the brain products website at<br />https://www.brainproducts.com/downloads.php<br /><br />
 +
| downloads      = {{bulleted list
 +
  | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Brainvision Analyzer] (zip)
 +
  | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Brainvision Recorder] (zip)
 +
  }}
 +
| manuals        = {{bulleted list
 +
  | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Brainvision Analyser Manual]
 +
  | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Brainvision Recorder Manual]
 +
  | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Brainvision Macro Cookbook Manual]
 +
  | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Brainvision RecView Manual]
 +
  | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Brainvision Automation Manual]
 +
  }}
 +
}}
 +
 
 
Electroencephalography is the neurophysiological measurement of electrical activity in the brain as recorded by electrodes placed on the scalp or, in special cases, subdurally or in the cerebral cortex. The resulting traces are known as an electroencephalogram (EEG) and represent a summation of post-synaptic potentials from a large number of neurons.  
 
Electroencephalography is the neurophysiological measurement of electrical activity in the brain as recorded by electrodes placed on the scalp or, in special cases, subdurally or in the cerebral cortex. The resulting traces are known as an electroencephalogram (EEG) and represent a summation of post-synaptic potentials from a large number of neurons.  
   Line 10: Line 25:     
Brain Products EEG amplifiers are equipped with a number of noise reduction techniques such as active noise cancellation and active electrodes. High common mode rejection as well as low amplifier noise ensure maximum data quality. Our huge product range includes a range of electrodes and caps with custom or standard montages as well as a variety of requisite accessories.
 
Brain Products EEG amplifiers are equipped with a number of noise reduction techniques such as active noise cancellation and active electrodes. High common mode rejection as well as low amplifier noise ensure maximum data quality. Our huge product range includes a range of electrodes and caps with custom or standard montages as well as a variety of requisite accessories.
== Software Documentation ==
  −
Find the Brainvision analyzer manual here [[Media:BrainVision_Analyzer_UM.pdf]]
     −
Find the Brainvision recorder manual here [[Media:BrainVision_Recorder_UM.pdf]]
+
== Digital Port Settings (Markers/Buttonbox) ==
   −
Find the Brainvision macro cookbook manual here [[Media:Macro_Cookbook.pdf]]
+
[[image:DigitalPort.jpg]]
   −
Find the Brainvision RecView manual here [[Media:BrainVision_RecView_UM.pdf]]
+
== Interface BITSIbox ==
   −
Find the Brainvision Automation manual here [[Media:Automation_Reference_Manual.pdf]]
+
For the settings of the interface and to send the markers go to: http://tsgdoc.socsci.ru.nl/index.php?title=ButtonBoxes
   −
= EEG Markers =
+
== Presentation ==
   −
== Presentation ==
+
 
<nowiki>
+
 
 +
In the BITSI simple protocol you will have to reset the code manually to 0.
 +
BITSI simple code:
 +
<syntaxhighlight lang="python" line>
 
#TemplateINFO.pcl
 
#TemplateINFO.pcl
   Line 32: Line 48:     
Oport.send_code(100);  #This is your marker code, range code 1-255
 
Oport.send_code(100);  #This is your marker code, range code 1-255
wait_interval(2);      #2ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate
+
wait_interval(4);      #4ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate so 2 samples available
Oport.send_code(0);    #Back to 0; now ready to send a new code</nowiki>
+
Oport.send_code(0);    #Back to 0; now ready to send a new code
 +
</syntaxhighlight>
 +
 
 +
In BITSI extended protocol the reset is done by a specific time set with the capital "T".
 +
BITSI extended:
 +
<syntaxhighlight lang="python" line>
 +
#TemplateINFO.pcl
 +
 
 +
output_port Oport = output_port_manager.get_port( 1 );
 +
 
 +
#TemplateSUBS.pcl
 +
 
 +
#only specify this ones, then its valid for the full experiment
 +
Oport.send_string("T");  #Specify the pulse length time
 +
Oport.send_code(4);    #4ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate so 2 samples available
 +
 
 +
Oport.send_string("P");  #Specify its a pulse you want to send out
 +
Oport.send_code(100);    #This is your marker code, range code 1-255
 +
#Now it resets itself automatically to 0 after the specified time
 +
</syntaxhighlight>
    
== Python ==
 
== Python ==
<nowiki>
+
<syntaxhighlight lang="python" line>
 
#!/usr/bin/env python
 
#!/usr/bin/env python
   Line 48: Line 83:  
bb.sendMarker(100)    #This is your marker code, range code 1-255
 
bb.sendMarker(100)    #This is your marker code, range code 1-255
 
core.wait(0.002)      #2ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate
 
core.wait(0.002)      #2ms delay for the code to be recorded by brainvision; 2ms->500hz sampling rate
bb.sendMarker(0)      #Back to 0; now ready to send a new code</nowiki>
+
bb.sendMarker(0)      #Back to 0; now ready to send a new code
 +
</syntaxhighlight>
    +
== BrainVision Recorder - Default Workspace ==
   −
--------
+
'''Audience:'''
== BrainVision Recorder - Default Workspace ==
     −
Audience:
   
All BrainVision Recorder users
 
All BrainVision Recorder users
Description
+
 
To make sure all data acquired at the DCCN can be utilized for extensive analysis, default settings (sample rate, filters and such) are recommended for all EEG experiments.
+
'''Description'''
 +
 
 +
To make sure all data acquired at the DCC can be utilized for extensive analysis, default settings (sample rate, filters and such) are recommended for all EEG experiments.
 
These settings have to be specified in the Workspace of the BrainVision Recorder package (screenshots of the BrainVision Recorder program are used below to illustrate how one can enter the settings correctly into the workspace).  
 
These settings have to be specified in the Workspace of the BrainVision Recorder package (screenshots of the BrainVision Recorder program are used below to illustrate how one can enter the settings correctly into the workspace).  
Defining a workspace in BrainVision Recorder
+
 
 +
'''Download workspace BrainVision Recorder'''
 +
 
 +
Links and Documentation For the standard 32 and 64 electrode setup, workspaces are available here.
 +
 
 +
Find the Brainvision analyzer manual here [[Media:actiCAP-32Ch-standard workspace DCC_new.zip]]
 +
 
 +
Find the Brainvision analyzer manual here [[Media:actiCAP-64Ch-standard workspace DCC_new.zip]]
 +
 
 +
Please check the BrainVision Recorder manual (English / German) for more in depth details.
 +
 
 +
'''Defining a workspace in BrainVision Recorder'''
    
The default settings required for EEG experiments have to be specified in the Workspace of the BrainVision Recorder package. This can be done as follows.
 
The default settings required for EEG experiments have to be specified in the Workspace of the BrainVision Recorder package. This can be done as follows.
Make a copy with a new name of an existing workspace file.
+
Make a copy with a new name of an existing workspace file. Default 32 and 64 channel workspace files can be found on the data drive, D:\Workfiles\.
Open the BrainVision Recorder package on the EEG computer in the lab of your choice by double clicking on the icon.
+
*Open the BrainVision Recorder package on the EEG computer in the lab of your choice by double clicking on the icon.
Go to File / Open Workspace and open your workspace file.
+
*Go to File / Open Workspace and open your workspace file.
Go to File / Edit Workspace.  
+
*Go to File / Edit Workspace.  
The following window will appear on the computer screen:
+
*The following window will appear on the computer screen:
    +
[[File:1.gif]]
      −
 
+
In this window one defines the directory to which the raw datafiles have to be written. Always choose D:\Raw Files\<your name>\....
In this window one defines the directory to which the raw datafiles have to be written. Always choose D:\data\<username>\....
   
You can also use the option Automatic Filename Generation if you wish to have the names of your raw data files to be automatically generated.
 
You can also use the option Automatic Filename Generation if you wish to have the names of your raw data files to be automatically generated.
 
Please note that your workspace may contain valuable information about your EEG-configuration.
 
Please note that your workspace may contain valuable information about your EEG-configuration.
 
Always keep a copy of the workspace file with your raw data! Never leave your data on the EEG-PC. Always copy data immediately after your experiment to your network drive.
 
Always keep a copy of the workspace file with your raw data! Never leave your data on the EEG-PC. Always copy data immediately after your experiment to your network drive.
 
Every two weeks your data will be erased automatically.
 
Every two weeks your data will be erased automatically.
Good practice directly after your experiment:
  −
Ensure you have a copy of your workspace file
  −
Copy your data to your home directory on central storage
  −
Make an archive-copy of your raw data files according to the archiving policy in your PI-group.
  −
Delete your data files from the local disk of the EEG-PC. Files will be erased automatically after two weeks!
     −
AMPLIFIER SETTINGS:
+
'''Good practice directly after your experiment:
 +
 
 +
*Ensure you have a copy of your workspace file
 +
*Copy your data to your network drive or an external harddrive
 +
*Make an archive-copy of your raw data files according to the archiving policy in your PI-group.
 +
*Delete your data files from the local disk of the EEG-PC. Files will be erased automatically!
 +
'''
 +
 
 +
'''AMPLIFIER SETTINGS:'''
 +
 
 
Click on the button "next",  the following window appears on your screen:
 
Click on the button "next",  the following window appears on your screen:
    +
[[File:screenshot amplifier settings.png|600px|Image: 600 pixels]]
       +
First press "Scan for Amplifiers". BrainVision Recorder will give an overview of the amplifiers the software is communicating with.
 +
The following default DCC settings are recommended for all channels.
   −
First press "Scan for Amplifiers". BrainVision Recorder will give an overview of the amplifiers the software is communicating with.
+
{| class="wikitable"
The following default DCCN settings are recommended for all channels.
+
|-
Setting  
+
!Setting
Default DCCN
+
!Default
Nr. of channels to be used  
+
|-
 +
|Nr. of channels to be used  
 +
|[]
 +
|-
 +
|Sampling rate (=downsampling filter)
 +
|500Hz
 +
|-
 +
|Resolution
 +
|0.1 μV
 +
|-
 +
|Low Cutoff
 +
|10 s (frequency 0.016 Hz)
 +
|-
 +
|High Cutoff (= anti-aliasing filter)
 +
|1000 Hz
 +
|-
 +
|Low impedance
 +
|Switched OFF.
 +
|-
 +
|Use individual settings
 +
|Only use this option to specify the electrode names of the electrode arrangement of your choice.
 +
|}
 
   
 
   
Sampling rate (=downsampling filter)
+
'''SOFTWARE FILTERS:'''
500Hz
+
 
Resolution
  −
0.1 μV
  −
Low Cutoff
  −
10 s (frequency 0.016 Hz)
  −
High Cutoff (= anti-aliasing filter)
  −
1000 Hz
  −
Low impedance
  −
Switched ON.
  −
Use individual settings
  −
Only use this option to specify the electrode names of the electrode arrangement of your choice.
  −
  −
  −
SOFTWARE FILTERS:
   
Click on the button Next, the following window appears on your screen.
 
Click on the button Next, the following window appears on your screen.
    +
[[File:screenshot software filters.png|600px|Image: 600 pixels]]
       +
'''PLEASE NOTE THAT THIS CARD HAS THREE TABS!'''
   −
PLEASE NOTE THAT THIS CARD HAS THREE TABS!
     −
TAB1: "Raw data saving filters"
+
'''TAB1: "Raw data saving filters"'''
 
The following default settings are recommended for all channels:
 
The following default settings are recommended for all channels:
Setting
  −
Default DCCN
  −
Enable filters
  −
Switched ON
  −
Low Cutoff Filter
  −
10s (frequency 0.016 Hz)
  −
High Cutoff Filter
  −
125 Hz
  −
Notch Filter
  −
Switched OFF
  −
Use Individual Settings
  −
Switched OFF
     −
Note 1:
+
{| class="wikitable"
 +
|-
 +
!Setting
 +
!Default DCC settings
 +
|-
 +
|Enable filters
 +
|Switched ON
 +
|-
 +
|Low Cutoff Filter
 +
|10s (frequency 0.016 Hz)
 +
|-
 +
|High Cutoff Filter
 +
|125 Hz
 +
|-
 +
|Notch Filter
 +
|Switched OFF
 +
|-
 +
|Use Individual Settings
 +
|Switched OFF
 +
|}
 +
'''Note 1:'''
 +
 
 
Sampling of the EEG is done by the amplifier with 5000Hz fixed and either 1000Hz anti aliasing filter (normal) or 250Hz anti aliasing filter (MRI only!). Downsampling can be done realtime on the computer to 200, 250, 500, 1000, 2500 or 5000. An appropriate anti-aliasing filter should be selected for that as well, depending on the downsampling frequency.  
 
Sampling of the EEG is done by the amplifier with 5000Hz fixed and either 1000Hz anti aliasing filter (normal) or 250Hz anti aliasing filter (MRI only!). Downsampling can be done realtime on the computer to 200, 250, 500, 1000, 2500 or 5000. An appropriate anti-aliasing filter should be selected for that as well, depending on the downsampling frequency.  
At the default sampling rate of 500Hz, use a cutoff frequency of 200Hz.
+
At the default sampling rate of 500Hz, use a cutoff frequency not higher than 200Hz.
Note 2:
+
 
Skin impedance should be kept low, e.g. below 3kΩ. We are currently looking into the possibility of running experiments with high skin impedance.
+
'''Note 2:'''
TAB2: "Segmentation filters"
+
 
 +
Skin impedance should be kept low, e.g. below 20kΩ. We are currently looking into the possibility of running experiments with high skin impedance.
 +
 
 +
'''TAB2: "Segmentation filters"'''
 +
 
 
Click on the tab "Segmentation Filters", the following window appears on your screen.
 
Click on the tab "Segmentation Filters", the following window appears on your screen.
    +
[[File:4.gif]]
       +
On this page filters can be specified for all data that is segmented/averaged online.
 +
 +
'''Since we recommend to collect all data in the continuous mode, these filters do not have to be specified and the "Enable Filters" option should  be switched off.'''
   −
On this page filters can be specified for all data that is segmented/averaged online.
+
'''TAB 3: "Display filters"'''
Since we recommend to collect all data in the continuous mode, these filters do not have to be specified and the "Enable Filters" option should  be switched off.
     −
TAB 3: "Display filters"
   
Click on the tab "Display Filters", the following window appears on your screen.
 
Click on the tab "Display Filters", the following window appears on your screen.
   −
 
+
[[File:5.png]]
      Line 154: Line 233:  
It is recommended to set the filters in exactly the same way as the "Raw Data Saving Filters" so that you see is what you get.
 
It is recommended to set the filters in exactly the same way as the "Raw Data Saving Filters" so that you see is what you get.
 
Thus, the following default settings are recommended:
 
Thus, the following default settings are recommended:
Setting  
+
{| class="wikitable"
Default DCCN
+
|-
Enable filters  
+
!Setting
Switched ON  
+
!Default
Low Cutoff Filter  
+
|-
10s (frequency 0.016 Hz)  
+
|Enable filters  
High Cutoff Filter  
+
|Switched ON  
125 Hz  
+
|-
Notch Filter  
+
|Low Cutoff Filter  
Switched OFF  
+
|10s (frequency 0.016 Hz)  
Use Individual Settings  
+
|-
Switched OFF  
+
|High Cutoff Filter  
 +
|125 Hz  
 +
|-
 +
|Notch Filter  
 +
|Switched OFF  
 +
|-
 +
|Use Individual Settings  
 +
|Switched OFF  
 +
|}
 +
'''SEGMENTATION / AVERAGING:'''
   −
SEGMENTATION / AVERAGING:
   
Click on the button "next", the following window appears on your screen:
 
Click on the button "next", the following window appears on your screen:
    +
[[File:6.gif]]
      −
 
+
On this page settings can be specified for online segmentation/averaging of EEG data. '''Since we recommend to collect all data in the continuous mode, these settings do not have to be specified and the "Enable Filters" option should  be switched off.'''
On this page settings can be specified for online segmentation/averaging of EEG data. Since we recommend to collect all data in the continuous mode, these settings do not have to be specified and the "Enable Filters" option should  be switched off.  
   
However, if one would like to see an average of their data on screen, just for display purposes, one can enter the settings here (and the filter specifications for the segmented data in the "Segmentation Filters" tab (described above)).
 
However, if one would like to see an average of their data on screen, just for display purposes, one can enter the settings here (and the filter specifications for the segmented data in the "Segmentation Filters" tab (described above)).
Links and Documentation
  −
For the standard 32 and 64 electrode setup, workspaces are available here.
   
Please check the BrainVision Recorder manual (English / German) for more in depth details.
 
Please check the BrainVision Recorder manual (English / German) for more in depth details.

Navigation menu