Page 1 of 1

Stimulation based epoching cannot work on overlapped signals

Posted: Thu Nov 15, 2018 4:46 pm
by RadhaKumari
I recorded data using Open BCI Ganglion via LSL and saved it in a CSV file. I am trying to process the data using Stimulation based epoching to extract segment after one particular stimulus. I am getting the error: Stimulation based epoching cannot work on overlapped signal. What do I make out of it?

Re: Stimulation based epoching cannot work on overlapped sig

Posted: Fri Nov 16, 2018 8:12 am
by jtlindgren
Hi,

the stimulation based epoching only works on continuous streams apparently. Such streams have data chunks with each having timestamps like

Code: Select all

chunk:    1   2    3    4   ...
stamp: [a,b][b,c][c,d][d,e] ... 
and so on. The end of previous chunk must exactly match in time to the start of the next chunk. You can use e.g. EBML stream spy to investigate these stamps.

It is possible that the csv format with its finite precision (typically smaller than what ov uses internally) introduces rounding error or something that makes the box think them as noncontinuous. You can use the .ov format to avoid this issue.


Cheers,
Jussi

Re: Stimulation based epoching cannot work on overlapped sig

Posted: Fri Nov 16, 2018 10:38 am
by RadhaKumari
Yes, when I changed to generic stream writer and used stimulation based epoching, it was no longer an issue.
Thanks