-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Standardize topomap args #11123
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
Standardize topomap args #11123
Conversation
687fca8 to
e75c922
Compare
mne/utils/docs.py
Outdated
| it will be approximated from the coordinates of ``'Oz'``). ``None`` (the | ||
| default) is equivalent to ``'auto'`` when enough extra digitization points | ||
| are available, and (0, 0, 0, {HEAD_SIZE_DEFAULT}) otherwise. Currently the | ||
| head radius does not affect plotting. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the text about radius not affecting plotting true? I haven't used plot_topomap for sometime now (I work on iEEG data now), but there was a time when radius affected the plotting. Many of the eeglab .set files I used had "invisible" head outlines because of this, as the channel positions were in mm or cm, but were interpreted by mne as meters (and so the head outline was the size of one channel in the topo plot).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder that too, but haven't had a chance to test it yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mmagnuski update: head radius definitely does affect plotting. I'll remove this statement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for confirming this!
|
OMG, the tragedies unearthed by this PR! I've just discovered that EDIT: fixed in 61a1746 |
|
🤦♂️
|
This reverts commit 6011f58.
…-args * upstream/main: Fix mesh display in tutorial (mne-tools#11200) MAINT: Add arm64 CI using CirrusCI (mne-tools#11209) Fix spatial colors (mne-tools#11201) MAINT: Fix CircleCI error (mne-tools#11205) [circle deploy] Add regression-based approach to removing EOG artifacts (mne-tools#11046) [DOC, MRG] Minor documentation improvements and remove glossary entry for array-like (mne-tools#11207) Fix `include_tmax` not considered in `mne.io.Raw.crop` to check `tmax` in bounds (mne-tools#11204) MAINT: Fix notebook backend (mne-tools#11206) MRG: Fix displayed Raw duration in Jupyter notebook (mne-tools#11203) add EpochsSpectrum.average() (mne-tools#11198)
930b216 to
fa11476
Compare
…-args * upstream/main: MAINT: Fix Cirrus caching (mne-tools#11211)
|
You can ignore the windows conda failure, I'm working around it in #11213 and have opened joblib/threadpoolctl#131 |
|
OK I've visually inspected all the changed tutorials and fixed a couple inconsistencies between this PR and |
|
Thanks @drammock ! |
|
thanks a ton @drammock 🙏 🙏 🙏 🙏 |
* upstream/main: Don't insert superfluous newlines in subprocess log messages (mne-tools#11219) purge _get_args helper func (mne-tools#11215) Standardize topomap args (mne-tools#11123) MAINT: Ensure no datasets are downloaded in tests (mne-tools#11213)
* upstream/main: (64 commits) MAINT: Better check (mne-tools#11229) MAINT: Fix link and update instantiation note (mne-tools#11228) BUG: Add estimated fiducials when missing / assumed head coords (mne-tools#11212) Fix tfr db (mne-tools#11223) MAINT: Update link (mne-tools#11222) add CPGRL doc section (mne-tools#11216) Don't insert superfluous newlines in subprocess log messages (mne-tools#11219) purge _get_args helper func (mne-tools#11215) Standardize topomap args (mne-tools#11123) MAINT: Ensure no datasets are downloaded in tests (mne-tools#11213) MAINT: Fix Cirrus caching (mne-tools#11211) Fix mesh display in tutorial (mne-tools#11200) MAINT: Add arm64 CI using CirrusCI (mne-tools#11209) Fix spatial colors (mne-tools#11201) MAINT: Fix CircleCI error (mne-tools#11205) [circle deploy] Add regression-based approach to removing EOG artifacts (mne-tools#11046) [DOC, MRG] Minor documentation improvements and remove glossary entry for array-like (mne-tools#11207) Fix `include_tmax` not considered in `mne.io.Raw.crop` to check `tmax` in bounds (mne-tools#11204) MAINT: Fix notebook backend (mne-tools#11206) MRG: Fix displayed Raw duration in Jupyter notebook (mne-tools#11203) ...
closes #11032
Here is progress so far. NOTE: I recommend clicking the "edit" button for this comment and copy-pasting it into a full-screen text editor (and reducing font size as needed) so you can see the whole table at once without line wrapping / scrolling.
ADDEDDEPRECATEDYAGNI.n/aAlso the order of params has changed and all funcs/meths now have an
*in their signatures after the first few params, making most params keyword-only. The param order (top-to-bottom) and position of the*are as in the table below:InfoInfovlimbandsortimes)