Skip to content

[RFC] Are we aiming to be able to write plot_montage like this?#6649

Closed
massich wants to merge 1 commit intomne-tools:masterfrom
massich:viz_montage
Closed

[RFC] Are we aiming to be able to write plot_montage like this?#6649
massich wants to merge 1 commit intomne-tools:masterfrom
massich:viz_montage

Conversation

@massich
Copy link
Copy Markdown
Contributor

@massich massich commented Aug 9, 2019

This is just me thinking outloud.

While working in #6639 I find myself touching things that make
montages look more similar. And I think we should be able to get
to something similar to what this PR shows.

This requires:

  • unifyied attribute names
  • no name dups in montagew

cross-ref: #6461

cc: @agramfort

@massich massich mentioned this pull request Aug 9, 2019
19 tasks
montage.ch_names = [montage.ch_names[i] for i in idx]
ch_names = montage.ch_names
montage.pos = montage.pos[idx, :]
montage.selection = np.arange(n_chans - n_dupes)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was here for a reason. cc @larsoner

+1 for unify attributes of montage and digmontage. point_names is not great. I also think that only channels have names.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, git blame points to #4592 and #4403

@massich massich mentioned this pull request Sep 9, 2019
@agramfort
Copy link
Copy Markdown
Member

this code will die when we remove Montage class after the next release.

@agramfort agramfort closed this Sep 11, 2019
@massich
Copy link
Copy Markdown
Contributor Author

massich commented Sep 11, 2019

sure, but I would not have close it. Since it was showing how the plot (for both montage, and Digmontage) was aimed.

None the less I think that just cross-referencing all these would be enough

cross-referencing: #6412, #6744

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

Successfully merging this pull request may close these issues.

3 participants