- News
- EEG Interoperability: g.tec with LSL, MNE-Python, EEGLAB, FieldTrip, OpenViBE, BCI2000 and BrainFlow
EEG Interoperability: g.tec with LSL, MNE-Python, EEGLAB, FieldTrip, OpenViBE, BCI2000 and BrainFlow
Short answer: EEG interoperability is built into every g.tec system, which works with the open neuroscience ecosystem. g.HIamp, g.USBamp and g.Nautilus stream into Lab Streaming Layer (LSL) and are listed with integrations for BCI2000, OpenViBE, FieldTrip, EEGLAB and MNE-Python. Unicorn devices ship with an LSL app and are a supported board in BrainFlow. Every recording can be exported to EDF or GDF, the two formats that all of these tools read. This page shows which route to use for each tool, with code you can copy.
When researchers ask which EEG platform fits into an existing lab, the question is rarely about the amplifier alone. It is about the tools around it: the stimulus software, the analysis pipeline, the BCI framework the group has used for years. A system that forces you to replace that toolchain costs months. This guide maps every g.tec system to the open tools you already use, so you can check EEG interoperability before you buy.

EEG Interoperability Matrix: g.tec Systems and Open-Source Tools
The table below shows the recommended connection route for each combination. Live means real-time streaming during the recording. File means offline analysis after export.
| Tool | g.HIamp, g.USBamp, g.Nautilus | Unicorn Hybrid Black, Unicorn Naked BCI | Unicorn BCI Core-8 |
|---|---|---|---|
| Lab Streaming Layer (LSL) | Live: LSL interface and marker stream in g.HIsys Professional, LSL output in g.Pype, and the community g.NEEDaccess LSL app | Live: Unicorn LSL app included in the Unicorn Suite | Live: LSL output via g.Pype |
| MNE-Python | File: EDF/GDF export. Live: via LSL or g.Pype (Python) | File: Unicorn Recorder CSV. Live: via LSL | File: EDF, HDF5, CSV or MAT from g.Pype. Live: via LSL or g.Pype |
| EEGLAB | File: EDF/GDF export | File: CSV or EDF (converted) | File: EDF from g.Pype |
| FieldTrip | File: EDF/GDF; g.tec support in FieldTrip contributed by the FieldTrip community | Live: LSL or BrainFlow; experimental ft_realtime_unicornproxy |
File: EDF from g.Pype. Live: via LSL |
| OpenViBE | Live: g.tec drivers for the OpenViBE Acquisition Server (g.USBamp, g.HIamp) | Live: via LSL | Live: via LSL |
| BCI2000 | Live: g.tec amplifiers are integrated as BCI2000 signal sources (g.USBamp, g.HIamp) | Ask g.tec | Ask g.tec |
| BrainFlow | Not supported; use g.NEEDaccess or LSL | Live: supported BrainFlow board (Windows, Linux, Raspberry Pi; use the supplied dongle) | Not listed; use g.Pype or LSL |
| Python (native) | g.NEEDaccess Python API, g.Pype | Unicorn Python API (add-on) | g.NEEDaccess Python API, g.Pype |
| MATLAB and Simulink | g.NEEDaccess MATLAB API, g.HIsys (Simulink) | Simulink interface (add-on) | g.HIsys |
| C, C#, .NET | g.NEEDaccess C and .NET APIs | C and .NET APIs included | Ask g.tec |
| Unity, Android, UDP | UDP via g.HIsys and g.Pype | Unity and Android interfaces, UDP app | UDP via g.Pype |
Licence details for each interface (what ships with the device and what is an add-on) are listed in our guide to raw EEG data access, APIs and file formats.
Lab Streaming Layer: The Common Clock for Multimodal Labs
LSL is the most common way to combine EEG with eye tracking, motion capture, stimulus software and other amplifiers on one time base. The official LSL list of supported devices includes g.USBamp and a g.NEEDaccess app that covers g.USBamp, g.HIamp and g.Nautilus. For production use, g.tec recommends the LSL interface in g.HIsys Professional or the LSL output in g.Pype, because both are maintained by g.tec.
Once your EEG stream is on the network, any LSL client can read it. A minimal Python receiver:
from pylsl import StreamInlet, resolve_byprop
streams = resolve_byprop("type", "EEG", timeout=5)
inlet = StreamInlet(streams[0])
while True:
sample, timestamp = inlet.pull_sample()
print(timestamp, sample[:8])
To record all streams together, use LabRecorder. It writes one XDF file with EEG, markers and every other LSL stream on a shared clock.
MNE-Python: From Recording to Analysis in a Few Lines
MNE-Python reads EDF and GDF directly. Export a g.Recorder file to EDF with the converter in g.tec Suite 2024, or write EDF straight from a g.Pype pipeline. Then:
import mne
raw = mne.io.read_raw_edf("recording.edf", preload=True)
raw.filter(1.0, 40.0)
raw.plot_psd()
For real-time work in Python, g.Pype is the shortest path. It builds acquisition, filtering, classification and output as nodes, and can be extended with MNE-Python, NumPy, SciPy, scikit-learn and PyTorch. It runs on Windows, macOS and Linux and installs with pip install "gpype[all]".
EEGLAB and FieldTrip: MATLAB Analysis Without Conversion Headaches
Both MATLAB toolboxes import EDF and GDF, so the export route works for every g.tec system. g.tec support in FieldTrip was contributed by the FieldTrip community around Robert Oostenveld. For the Unicorn Hybrid Black, the FieldTrip realtime documentation describes three live routes: LSL via the Unicorn Suite on Windows (the robust option), BrainFlow, and an experimental Bluetooth proxy for testing.
If your group works in MATLAB but wants real-time processing, the g.NEEDaccess MATLAB API and g.HIsys for Simulink give you direct control of g.tec amplifiers, including device discovery, impedance check, sampling rate and acquisition.
OpenViBE and BCI2000: Established BCI Frameworks
g.tec provided dedicated hardware interfaces to OpenViBE, and g.tec amplifiers were integrated into BCI2000 by Gerwin Schalk and his collaborators. Many BCI groups have run g.USBamp and g.HIamp with these frameworks for years. One point to note: the LSL documentation reports an open issue that can prevent streams from the OpenViBE Acquisition Server from synchronizing with other LSL streams. If OpenViBE is one part of a larger multimodal setup, stream the EEG through g.HIsys or g.Pype instead and let OpenViBE consume the LSL stream.
For EEG interoperability with these frameworks, keep in mind that driver versions change with each framework release. Before you buy, ask g.tec which driver version matches your OpenViBE or BCI2000 installation.
BrainFlow and the Unicorn Hybrid Black
The Unicorn Hybrid Black is a supported board in BrainFlow, the open library that gives one API across many consumer and research EEG devices. It runs on Windows, Linux and Raspberry Pi. Pair the headset with the supplied dongle, not the computer’s built-in Bluetooth.
from brainflow.board_shim import BoardShim, BrainFlowInputParams, BoardIds
board = BoardShim(BoardIds.UNICORN_BOARD, BrainFlowInputParams())
board.prepare_session()
board.start_stream()
# ... record ...
data = board.get_board_data()
board.stop_stream()
board.release_session()
File Formats for EEG Interoperability: What Each g.tec Program Writes
| Software | Native format | Export or conversion |
|---|---|---|
| g.Recorder | HDF5 | EDF, GDF, GDF24 (converter in g.tec Suite 2024) |
| g.Pype | CSV, EDF, HDF5, MAT | Choose per pipeline |
| Unicorn Recorder | CSV (8 EEG channels plus accelerometer, gyroscope, battery, counter, validation) | Read with Python or MATLAB |
| g.BSanalyze | MAT, HDF5 | Imports EDF, GDF, BDF, BCI2000, Neuroscan CNT, Micromed, Biopac; exports ASCII |
For data sharing, export to EDF and convert to the Brain Imaging Data Structure (BIDS) with MNE-BIDS. g.HIamp recordings are BIDS-compatible via open-source conversion scripts.
How to Check EEG Interoperability Before You Buy
- List your toolchain. Stimulus software, acquisition framework, analysis toolbox, and any other device that must share a clock with the EEG.
- Pick the route from the matrix. Prefer LSL for multimodal setups and EDF/GDF for offline analysis.
- Check licences. Some interfaces are included, others are add-ons. Ask for a quote that lists every interface you need.
- Test with real data. Ask g.tec for a sample recording in EDF, or start with a Unicorn Hybrid Black and the free example projects on GitHub.
- Measure timing. For closed-loop work, measure end-to-end latency and jitter in your own setup. Our article on real-time EEG and closed-loop BCI explains how.
Why g.tec Builds Open Interfaces
g.tec started with an open interface. In 1997, Christoph Guger and Günter Edlinger streamed EEG sample by sample into MATLAB, and in 2000 g.tec and MathWorks introduced standardized APIs for MATLAB, Simulink and C. The full story is in The Day the Brain Met the API. The principle behind g.tec’s EEG interoperability is the same today: your recordings are stored in open formats that you can read without any g.tec software, and every system can stream into the tools your lab already trusts.
EEG Interoperability: Frequently Asked Questions
Does g.tec support Lab Streaming Layer (LSL)?
Yes. Unicorn devices ship with an LSL app. For g.HIamp, g.USBamp and g.Nautilus, LSL is available in g.HIsys Professional and in g.Pype. The LSL project also lists a g.NEEDaccess app for these amplifiers.
Can I analyze g.tec EEG data in MNE-Python, EEGLAB or FieldTrip?
Yes. Export recordings to EDF or GDF, which all three tools read. g.Pype can write EDF directly, and the g.tec Suite 2024 converts g.Recorder HDF5 files to EDF, GDF and GDF24.
Do g.tec amplifiers work with OpenViBE and BCI2000?
Yes. g.USBamp and g.HIamp are listed with OpenViBE and BCI2000 integrations. Ask g.tec which driver version matches your framework release.
Is the Unicorn Hybrid Black supported by BrainFlow?
Yes. The Unicorn Hybrid Black is a supported BrainFlow board on Windows, Linux and Raspberry Pi, used with the supplied Bluetooth dongle.
Which programming languages can I use with g.tec devices?
Python, MATLAB, Simulink, C, C# and .NET through g.NEEDaccess and g.Pype. Unicorn devices add Unity and Android interfaces and UDP streaming.
How do I synchronize g.tec EEG with eye tracking or motion capture?
Stream all devices through LSL and record them with LabRecorder into one XDF file. For hardware-level timing, g.HIamp and g.USBamp also record digital trigger inputs synchronously with the EEG.
Am I locked into g.tec software?
No. Recordings are stored in open formats (HDF5, CSV, MAT, EDF, GDF) that you can read without any g.tec software.
You are currently viewing a placeholder content from Hubspot Embedded Content. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from HubSpot. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Hubspot Meetings. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information