-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly load marker streams from .xdf files #464
base: main
Are you sure you want to change the base?
Conversation
Unfortunately, this PR breaks some of the XDF test files available here: https://osf.io/uc7wn/ (e.g., I think we should discuss what should be interpreted as a marker stream. In The most common marker streams have In this PR, you are adding more than one change to the existing logic. The linked test file contains a stream with
Apart from the I think adding support for So in summary, I think there is still a lot to discuss before implementing changes. I'd also be very happy for any input to my thoughts on how to best handle marker streams. I'm tagging @chkothe, @sappelhoff, @tstenner, and @cboulay here – what are your thoughts on this issue? |
agreed However I think one of the biggest problems is this: https://github.com/sccn/xdf/wiki/Markers-Meta-Data So anything we do is just based on "our whim". Basically, it's the big XDF tools which get used by most people that sort of dictate what is going to be recorded/processed, and how (For example LabRecorder or pyxdf, etc.). I think it's fine to leave a "standard" or a "format" relatively open and see how users' needs fill the landscape bit by bit, but at some point it would also be important to go back to the specification and set some rules that have emerged and that are now battle tested into stone. |
Fixes #451 in order to load XDF containing multi-channel marker stream. Also addresses some minor issues to recognize different names of marker types and auto-convert stream dtype to supported types if possible.