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

Merging multiple LSL steams from XDF files #810

Open
arnodelorme opened this issue Sep 16, 2024 · 3 comments
Open

Merging multiple LSL steams from XDF files #810

arnodelorme opened this issue Sep 16, 2024 · 3 comments
Assignees

Comments

@arnodelorme
Copy link
Collaborator

Have a function to merge multiple streams in eeg_load_xdf and use the eeg_mergechannels function on the clock times (in streams{1}.info.clock_offsets.offset). For each stream add the time and offset (in seconds) and compute the linear regression between streams (create an event table using these clock times and use eeg_mergechannels to align the streams).

@neuromechanist

@neuromechanist neuromechanist self-assigned this Sep 16, 2024
@neuromechanist
Copy link
Member

Current plan:

  1. Make a dropdown menu in the import GUI for the stream available in the XDF.
  2. Synchronize the streams with an option for remapping to a base stream.
  3. Put the resampled streams under the etc field.

@arnodelorme arnodelorme changed the title Discussion with Yahya about merging multiple steams Merging multiple LSL steams from XDF files Sep 18, 2024
@arnodelorme
Copy link
Collaborator Author

Any progress @neuromechanist

@neuromechanist
Copy link
Member

neuromechanist commented Nov 1, 2024

Not much currently, I will circle back to this on Monday.

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

No branches or pull requests

2 participants