Skip to content
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

Import non-marker streams as events #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mgbleichner
Copy link

So far it is only possible to import a stream of the type 'marker' as events. We have use cases where we want to use other streams as events. I extended the eeg_load_xdf.m and the pop_load_xdf, so that you can use any type of stream (just specify the name) as events. Currently, all non-zero entries of that stream are considered as event, all zero entries are dropped.

Allows to import events from a non-marker tpye of stream, here called 'audio_onset'.
Import non marker stream as event using the stream_as_event field. All non-zero elements of this vector are imported as events.
I added the stream-as-event  option to the pop function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant