You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading BIDS folder to a study the channels are incorrect when the electrodes.tsv and channels.tsv are different.
Extra channels in EEG data that are not in electrodes.tsv (e.g. audio input, auxiliary response device) in combination with extra electrode entries that are not in channels.tsv (e.g. CZ=ref electrode location from 3D cap photo) leads to inappropriate assignment of extra channels in chanlocs due to assumed equivalent row indexing of electrodes.tsv and channels.tsv (lines 52-59 of bids_importchanlocs.m). See attached example where CZ=ref electrode location is included in electrodes.tsv and channels.tsv has different extra channels for audio and auxiliary response device inputs. [attached as .txt as git doesn't allow me to include .tsv files]
Behavior is different when loading the individual file using pop_fileio. This appears to correctly import the same example by matching electrode and channel names (lines 282 - 300).