Skip to content

MRG: refactor internals for epochs image plot - #6186

Merged
larsoner merged 9 commits into
mne-tools:masterfrom
jona-sassenhagen:refactor_multiax_plotters
Apr 24, 2019
Merged

larsoner merged 9 commits into
mne-tools:masterfrom
jona-sassenhagen:refactor_multiax_plotters

Conversation

@jona-sassenhagen

Copy link
Copy Markdown
Contributor

This is to make it easier to handle the unification of topo plotters and single sensor plotters.

@drammock

@codecov

codecov Bot commented Apr 23, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #6186 into master will decrease coverage by 0.04%.
The diff coverage is 89.13%.

@@            Coverage Diff             @@
##           master    #6186      +/-   ##
==========================================
- Coverage   89.01%   88.97%   -0.05%     
==========================================
  Files         410      413       +3     
  Lines       73894    74236     +342     
  Branches    12257    12296      +39     
==========================================
+ Hits        65776    66048     +272     
- Misses       5222     5287      +65     
- Partials     2896     2901       +5

@jona-sassenhagen

Copy link
Copy Markdown
Contributor Author

Sketch:

For epochs.topo_topo,
- create data array(s; for multiple types)
- apply order, filter, vlim funcs in mne.viz.epochs.py
- and off to the topo plotter

@drammock

@jona-sassenhagen

Copy link
Copy Markdown
Contributor Author

@drammock this too ...

@jona-sassenhagen jona-sassenhagen changed the title [WP, BORING] refactor internals for epochs image plot [READY FOR REVIEWS AND BORING] refactor internals for epochs image plot Apr 23, 2019

@larsoner larsoner left a comment

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.

LGTM +1 for merge, @drammock feel free to merge if you're happy

@larsoner
larsoner requested a review from drammock April 23, 2019 22:22
@larsoner larsoner changed the title [READY FOR REVIEWS AND BORING] refactor internals for epochs image plot MRG: refactor internals for epochs image plot Apr 23, 2019
@jona-sassenhagen jona-sassenhagen changed the title MRG: refactor internals for epochs image plot WIP: refactor internals for epochs image plot Apr 24, 2019
@jona-sassenhagen

Copy link
Copy Markdown
Contributor Author

@drammock I have moved epochs objects out of most of the helper functions and made everything a bit more modular. This should now be more conductive to looping over axes and data and calling functions to handle and eventually plot arrays.

@larsoner

Copy link
Copy Markdown
Member

But is it MRG?????

@jona-sassenhagen

Copy link
Copy Markdown
Contributor Author

no :(

@jona-sassenhagen

Copy link
Copy Markdown
Contributor Author

actually yes

@jona-sassenhagen jona-sassenhagen changed the title WIP: refactor internals for epochs image plot MRG: refactor internals for epochs image plot Apr 24, 2019
Comment thread mne/viz/epochs.py
@larsoner
larsoner merged commit 3a207b3 into mne-tools:master Apr 24, 2019
@larsoner

Copy link
Copy Markdown
Member

Thanks @jona-sassenhagen

jeythekey pushed a commit to jeythekey/mne-python that referenced this pull request Apr 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants