Clemens Brunner
Clemens Brunner
OK, so it could be done, and the least effort solution would be to not check and convert at all, but assume that the input is in the desired format....
@artiko88 the problem with this file is that it doesn't even start with the correct 4-byte sequence as defined by the XDF format.
In fact, this is actually an EDF file with the wrong extension. Try renaming your file to `T4-Fp2_003.edf`, and you will be able to load it with any program which...
You don't need a footer for a valid XDF file, but if the recording crashes without properly closing, you will end up with invalid data. I don't know if there...
I agree that these might be two separate issues. FYI, I've just added an [option to view XDF chunks](https://github.com/cbrnr/mnelab/pull/245) to [MNELAB](https://github.com/cbrnr/mnelab). It's pretty much what XDFBrowser does, but it should...
I assume this feature is not needed anymore, but please correct me if I'm wrong.
Thanks for your responses. Let me try to clarify with an example. My goal is to measure the delay from showing a stimulus (a rectangle changing from white to black...
@cboulay dejittering or not doesn't make a difference here. I also think it would be a good idea to double-check that code segment though, but I'm pretty sure it's not...
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).
> If i read this correctly, the markerstream has no effective sampling rate, right? I.e. you only send markers when an event occurs, and not at fixed intervals, do you?...