LIMO-EEG-Toolbox / limo_tools

Hierarchical Linear Modelling for MEEG data
https://limo-eeg-toolbox.github.io/limo_meeg/
Other
59 stars 27 forks source link

calculating expected chanlocs #36

Closed anomalosepia closed 4 years ago

anomalosepia commented 4 years ago

When I'm calculating expected chanlocs, I get an error during the plotting. it looks like there was a hard coded '71' on line 117 of limo tools

topoplot(zeros(1,71), expected_chanlocs,'style','blank','electrodes','labelpoint','chaninfo',expected_chanlocs);

I changed this to topoplot(zeros(1, length(expected_chanlocs)), expected_chanlocs,'style','blank','electrodes','labelpoint','chaninfo',expected_chanlocs); seems to fix the issue.

CPernet commented 4 years ago

hey thx for catching this -- I've set it in the forthcoming version (WS branch)