mne-tools / mne-tools/mne-python

ENH: Set rows/cols in ICA Components plot

Open
#9,604 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ENH
Dominant language
Python
Stars
3.5k
Forks
1.6k
Avg merge
1d 6h
Merged PRs (30d)
100

Description

Hi everyone. I am working with MNE and making some artifacts repairing with ICA.
I am using the function ica.plot_components() to see the topographic map. I really wanted to rearrange this plot with the quantities of rows and columns that i want. This can be possible?

Just an example: Normaly i set to see only 20 components. The figure produced by the function displays those heads in 4 rows ans 5 columns. There is a way to make a improvement and display those 20 heads topography in a format of M rows and N columns?

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the ica.plot_components() entry point and inspect how the ICA topographic maps are laid out. Define how caller-supplied row and column quantities should affect the displayed components, then verify that the requested M-by-N arrangement works for the example of 20 components and does not regress the existing layout.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.