ppsp-team / HyPyP

The Hyperscanning Python Pipeline
BSD 3-Clause "New" or "Revised" License
72 stars 40 forks source link

Read XDF file containing dyadic EEG data in HyPyP #64

Open FranckPrts opened 2 years ago

FranckPrts commented 2 years ago

How can I read dyadic EEG data embedded in XDF formatted files?

In my case, the XDF files to read were generated by LSL and contain six streams (e.g., 4 videos streams and 2 EEG streams).

First, my objective is to read the XDF, detect the EEG streams embedded within, and, while respecting their metadata (name, sampling rate, etc.), convert them into MNE Raw objects. Following this, my second objective would be to align these two EEG streams using the time-stamps provided by the XDF and enable connectivity analysis.

A first outline to this issue can be found in this notebook.

FranckPrts commented 2 years ago

New code from @jonasmago to merge with that notebook's code

FranckPrts commented 2 years ago

Update

Beta version of the import pipeline for XDF can be found here.

See