Open
Description
Was reading through the PREP re-referencing code while working on PyPREP, and noticed something that looks to be a bug in updateBadChannels.m
:
EEG-Clean-Tools/PrepPipeline/utilities/updateBadChannels.m
Lines 1 to 23 in 3ed337e
Specifically, dropout channels aren't included in the ref.all
union at the end, meaning that they're never excluded/interpolated during re-referencing. Additionally, ref.badChannelsFromRansac
is included in the union twice, which makes it look like bad-by-dropout channels were meant to be included but got copy/pasted incorrectly.
Thanks in advance for taking a look!
Metadata
Metadata
Assignees
Labels
No labels