Setup EEG amplifier plugins in MNE Scan

From MNE-CPP Wiki
Revision as of 04:10, 11 November 2016 by ViktorKL (Talk | contribs)

Jump to: navigation, search

Available amplifier plugins in MNE Scan

Following driver setup tutorials are offered for MNE Scan:

EEGoSports, TMSI Refa, gUSBAmp and BrainAmp

Structure of an acquisition plugin

The acquisition plugins of MNE Scan have similiar structure and therefore can be explained on the basis of the gUSBamp EEG driver example. The following flow sheet describes the structure of the acquisition plugin.

Flow sheet of the gUSBamp acquisition plugin

On the left side the border of MNE Scan can be seen, whereas on the right side the border to the actual device, in this case the gUSBamp amplifier, is depicted. In between, according to their hierarchical order, the three main classes are depicted as the interface between program and device:

  1. gUSBamp: regulates the communication between MNE Scan and the driver and acts as the main-class.
  2. gUSBampproducer: controls the data acquisition and manages the interface between driver and gUSBamp
  3. gUSBampdriver: actual driver which provides data acquisition and controls the communication between the project and the device

However, gUSBampdriver is the actual class, communicating and exchanging data with the device. The gUSBamp and gUSBampproducer classes can be seen as a way, how to integrate the gUSBampdriver class properly into the project.

When establishing a new plugin to the plugin-box like shown in the gUSBAmp example, all three classes are initialized one after another. During this process, all default parameter are generated. After that, the main thread returns to the program and the driver plugin is waiting for the start command or further changing instructions of the parameter by the GUI.