This repository contains all required software and configuration files to run the data acquisition needed for the analysis of corticokinematic coherence, in this repo, integrating EEG, video, motion capture, and VR streams via LabStreamingLayer (LSL). The scripts were used in the publication:
Evaluating corticokinematic coherence using electroencephalography and human pose estimation
Emanuel Alexander Lorenz, Xiaomeng Su and Nina Skjæret-Maroni
Biomedical Physics & Engineering Express
DOI: 10.1088/2057-1976/ae27d5
-
Camera/
Python scripts for parallel video acquisition from two FLIR cameras.- TTL‐triggered frame capture at 100 Hz
- Frame counters streamed via LSL
-
EEG/LiveAmpLSLStreamDelay/
Modified Brain Products LiveAmp LSL client with startup delay.- Waits for LiveAmp TTL sync before initializing LSL stream
- Includes electrode configuration file
-
Qualisys/
Custom Qualisys LSL client that waits for QTM to begin streaming.- Contains
.qprproject file and AIM models inQualisys_Calibration_AIM_Models/ - Batch launcher
Qualisys.batinQualisys_LSL_Streamer/
- Contains
-
Recorder/
Standard LabRecorder application with example XML configuration.- Records all required LSL streams into
.xdffiles
- Records all required LSL streams into
-
Qualisys Motion Capture
- Launch QTM, ensure cameras are online (check QDS and network settings).
- Load or create your Qualisys project (
.qpr). - Verify external TTL trigger under Tools > Project Options.
- Run
Qualisys.batto start the LSL streamer.
-
FLIR Camera Acquisition
- Install FLIR Spinnaker SDK and Python dependencies.
- Configure TTL trigger wiring to camera GPIO.
- Run the video acquisition script in Camera/.
-
LiveAmp EEG Stream
- Install LiveAmp drivers and LSL client.
- Use the delayed client in EEG/LiveAmpLSLStreamDelay/ to align with camera and Qualisys streams.
-
Recording with LabRecorder
- Edit the XML config in Recorder/ to specify required streams and output path.
- Launch LabRecorder to capture all streams into an
.xdffile.
-
VR Software
- Launch VR task to send event markers to LSL.
- All streams must be active before starting LabRecorder.
- Use the provided example configs as templates.
- Consult README files in each subfolder for detailed instructions.
Maintainer: Emanuel Lorenz
Lab: NTNU Vislab