GDF file reader

Summary

Doc_BoxAlgorithm_GDFFileReader.png
  • Plugin name : GDF file reader
  • Version : 0.9.1
  • Author : Bruno Renier, Jussi T. Lindgren
  • Company : INRIA/IRISA
  • Short description : GDF file reader
  • Documentation template generation date : Nov 2 2017

Description

Reads .GDF format files

The box attempts to be compliant with the version 2.51 of the GDF file specification (doc v10) by Alois Schlögl, as available at the arxiv.

Outputs

1. Experiment information

This stream contains information about the experiment and subject.

  • Type identifier : Experiment information (0x403488e7, 0x565d70b6)

2. EEG stream

Contains the signal information for the different channels (read from the GDF file).

  • Type identifier : Signal (0x5ba36127, 0x195feae1)

3. Stimulations

Contains information about the stimulations that occurred during the experiment.

  • Type identifier : Stimulations (0x6f752dd0, 0x082a321e)

Settings

1. Filename

Name of the GDF file to read.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ]

2. Samples per buffer

Number of samples per channel in a streamed matrix.

  • Type identifier : Integer (0x007deef9, 0x2f3e95c6)
  • Default value : [ 32 ]

3. Subtract physical minimum

  • Type identifier : Boolean (0x2cdb2f0b, 0x12f231ea)
  • Default value : [ false ]

Examples

If your GDF file is located in your /tmp directory, you can configure the plugin as follows :

Filename :

/tmp/myGDFFile.gdf

Samples per buffer :

32

Several example GDF files can be found in the share/openvibe/scenarios/signals/ folder.

Practical example :

Let's add a GDF file reader box to an empty scenario. One should also locate a GDF file and enter its path in the 'Filename' setting of the box. A second setting allows to specify the number of samples to be sent per data block.

This box has 3 output connectors, corresponding to experiment information, stimulations and signals. One can connect the last two to the two input connectors of a Signal Display box to visualise the signals and/or stimulations stored in the GDF file.

Miscellaneous

The experiment information output isn't operational yet.