EEGDEV-OPEN-OPTIONS(5)
π EEGDEV-OPEN-OPTIONS π
okay bestie, welcome to the EEGDDEV library manual entry for eegdev-open-options β it's giving "how do I even tell this thing what to open??" energy, and I'm here to explain it all. no cap. π«Ά
β¨ NAME β¨
eegdev-open-options β Device configuration format specification πΈ
π DESCRIPTION π
π¦ Syntax of the configuration string
bestie, your device configuration string needs to follow this exact syntax, okay?
device[[|option1|value1]...[|optionN|valueN]]
so here's the tea β β if the device you specified does not support a certain pair of option|value, this will be silently ignored by the opening function. like, no drama, no error, it just moves on. π
and device should be the name of a eegdev plugin, or any. in that later case, it will try to open one of the devices supported by the installed plugins. so any is the main character that works with everybody β¨
π Syntax of the configuration files
configuration files are made of statements β at most one per line β following this syntax (whitespace are ignored):
option = value
and comments are preceded by the # character, iykyk:
# comment line 1
# comment line 2
option = value #comment2
π FILES π
/etc/eegdev/eegdev.confβ Shared configuration file. π/etc/eegdev/<plugin>.confβ Configuration file loaded when the plugin <plugin> is used. The settings specified here overrides the settings in the shared configuration file. (yes bestie, this one wins the argument π)
β EXAMPLES β
π§ Configuration string examples
Device sourcing its data from the GDF file located at "/home/user/data.gdf":
datafile|path|/home/user/data.gdf
Biosemi device configured to use 32 electrodes:
biosemi|numch|32
gTec system consisting in a chain of 2 systems (the first 2 available) with a notch filter at 60Hz without lowpass or highpass sampling at 512Hz (default sampling rate):
gtec|notch|60|lowpass|none|highpass|none|deviceid|any+any
Any supported type of device but should have the serial number UB-2009.10.06 if it is a gTec system:
any|deviceid|UB-2009.10.06
π Configuration file example
# gTec configuration examples
notch = 60 # Notch value for USA
lowpass =none
highpass=none
# Specify a coupled system by default
deviceid = any+any
π₯ SEE ALSO π₯
egd_open(3) β go read it, bestie, it's the whole reason you're configuring anything at all π
and that's the whole vibe check, fr fr. every flag, every path, every #, all accounted for. β¨
this page was brought to you by EPFL, circa 2011, and it's still iconic.** ππ
π¦ where this page comes from
- debian bookworm: libeegdev0 0.2-6+b1 Β· LGPL-3.0-or-later
- debian trixie: libeegdev0t64 0.2-10 Β· LGPL-3.0-or-later
- fedora 43: eegdev 0.2-33.fc43 Β· LGPL-3.0-or-later
- fedora 44: eegdev 0.2-34.fc44 Β· LGPL-3.0-or-later
- ubuntu jammy: libeegdev0 0.2-6 Β· LGPL-3.0-or-later
- ubuntu noble: libeegdev0t64 0.2-9build2 Β· LGPL-3.0-or-later
- ubuntu questing: libeegdev0t64 0.2-10
- ubuntu resolute: libeegdev0t64 0.2-12 Β· LGPL-3.0-or-later
- ubuntu stonking: libeegdev0t64 0.2-12 Β· LGPL-3.0-or-later
- Copyright 2011 (c) EPFL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms