Skip to content

Commit

Permalink
Create topoplot_bug.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arnodelorme authored Jul 2, 2024
1 parent cc951f8 commit 4d33fd6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions others/topoplot_bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
In EEGLAB 2024.0,l we modified the topoplot function for Octave compatibility, where the meshgrid function was used to precompute point coordinates (this is the [code change](https://github.com/sccn/eeglab/commit/fb2b77e1db70c025b7898f18af895e59aba7bbc1) to fix the issue). This is because Octave griddata function is not as powerful as the MATLAB one and requires this extra step.

However, the coordinates were inverted, resulting in the bug below. This is a subtle mirroring issue in which the image is flipped along the diagonal.

![scalp_topo](https://github.com/sccn/sccn.github.io/assets/1872705/0e9003b5-203e-431c-ada5-6bf1c31a2051)

Unfortunately, this issue affects all topoplot performed with EEGLAB 2024.0.

0 comments on commit 4d33fd6

Please sign in to comment.