Skip to content

Channels incorrectly scaled in ica.plot_components() #7430

Closed

Description

@cbrnr

Channel locations are now incorrectly scaled when plotting ICA components with ica.plot_components(). Here's what the standard 10-20 layout looks like:

Figure_1

This used to work previously, see e.g. here:

Interestingly, plotting the montage works:

montage = mne.channels.make_standard_montage("standard_1020")
montage.plot()

Figure_2

Activity

  1. larsoner commented on Mar 12, 2020

    @larsoner
    Member

    Do you only have channels C5-C6 for example in the middle row? If so it looks like the subselection might be correct (?). But if you have all channels from the 10-20 montage and some are just missing, then that's clearly wrong...

  2. cbrnr commented on Mar 13, 2020

    @cbrnr
    ContributorAuthor

    Hm, I use these channels:

    ["Fz", "FC3", "FC1", "FCz", "FC2", "FC4", "C5", "C3", "C1", "Cz",
     "C2", "C4", "C6", "CP3", "CP1", "CPz", "CP2", "CP4", "P1", "Pz",
     "P2", "POz", "EOG1", "EOG2", "EOG3"]
    

    Fz is the most frontal channel, so it looks like the locations are indeed correct, or at least they match the locations in the montage. However, aren't these locations a bit off? I'd expect Fz to be much more frontal on the topomap, or POz much more occipital. Somehow, the previous figure looks more correct to me (which means that in the new montage plot, more channels should be located outside the head circle - I'm assuming that the head border is at the level of the inion at the most).

  3. larsoner commented on Mar 13, 2020

    @larsoner
    Member

    Closing as dup of #7141, see and/or continue discussion there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions