pyxdf icon indicating copy to clipboard operation
pyxdf copied to clipboard

Merge streams

Open niteshbhatia008 opened this issue 4 years ago • 2 comments

I am looking for a way to merge multiple streams (like EEG, ECG, events) into a single stream or a dataframe in python. Any suggestions? Thank you.

niteshbhatia008 avatar Nov 12 '21 01:11 niteshbhatia008

Do you want to synchronize the streams in a way that they all have the sampling rate and samples are at the same time? There is a pull request on this topic: https://github.com/xdf-modules/pyxdf/pull/1 / https://github.com/sccn/xdf/pull/28

Does this describe your requirements or do you have something else in mind?

agricolab avatar Nov 12 '21 05:11 agricolab

Do you really have these signals as separate streams? Usually, EEG, ECG, EOG, ... are associated with only one stream. Merging marker streams is already implemented in mnelab.io.xdf.read_raw_xdf (https://github.com/cbrnr/mnelab).

cbrnr avatar Nov 12 '21 06:11 cbrnr