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

ICA component topography after clustering #767

Open
arnodelorme opened this issue Apr 28, 2024 · 2 comments
Open

ICA component topography after clustering #767

arnodelorme opened this issue Apr 28, 2024 · 2 comments

Comments

@arnodelorme
Copy link
Collaborator

The issue is that plotting a component from the dataset or from a cluster returns different results. See scalp topography.

Screenshot 2024-04-27 at 9 42 48 PM

@arnodelorme
Copy link
Collaborator Author

arnodelorme commented Apr 28, 2024

The issue was due to a modification performed in October 2023 for Octave compatibility, where the meshgrid function was used to precompute point coordinates. This is because Octave griddata function is not as powerful as the MATLAB one. However, the coordinates were inverted resulting in the bug above. The image below shows the same plot as above after the bug was fixed in fb2b77e

Screenshot 2024-04-27 at 9 45 12 PM

@arnodelorme
Copy link
Collaborator Author

Important notes:

  • If you used scalp topographies for clustering components, it is unaffected by this bug (this is because all scalp topographies are affected in the same way).
  • Localization of components is unaffected (it is a different process)
  • If your scalp topographies were computed before 2024, then the issue will not arise.
  • The only difference is that the cluster plot is wrong

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

1 participant