Skip to content

Conversation

@mscheltienne
Copy link
Member

As briefly discussed here #12861
We could remove the raw._impedances non-standard attribute from ant and other readers (e.g. bv) in favor of an example which showcases how to get this information if needed.

Comment on lines 4 to 5
======================================
Getting impedances from ANT Neuro .cnt
Copy link
Member

Choose a reason for hiding this comment

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

For future compat and not needing to add redirects etc. could we rename this "Getting impedances from different EEG formats" or something, and then have a section with antio, then a short section for BrainVision that trivially shows raw.impedances? The latter would really just be a placeholder for when we soon show how to do it with pybv.

Copy link
Member

@drammock drammock left a comment

Choose a reason for hiding this comment

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

just some slight wordsmithing; otherwise looks great!

]
"examples/*/*.py" = [
"D205", # 1 blank line required between summary line and description
"D400", # First line should end with a period
Copy link
Member Author

Choose a reason for hiding this comment

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

I added and exception for D400 in tutorials and examples, as the first line is usually something like:

"""
.. _ex-sensitivity-maps:

================================================
Display sensitivity maps for EEG and MEG sensors
================================================
[...]

@mscheltienne mscheltienne changed the title Remove impedances in ant reader in favor of an example using antio [MRG] Remove impedances in ant reader in favor of an example using antio Sep 24, 2024
@larsoner larsoner merged commit d248a57 into mne-tools:main Sep 24, 2024
@larsoner
Copy link
Member

Thanks @mscheltienne !

@mscheltienne mscheltienne deleted the antio branch September 24, 2024 12:54
larsoner added a commit to mscheltienne/mne-python that referenced this pull request Sep 24, 2024
* upstream/main:
  Add support for dictionary-type `ref_channels` in `set_eeg_reference()` (mne-tools#12366)
  [MRG] Remove impedances in ant reader in favor of an example using antio (mne-tools#12868)
  [pre-commit.ci] pre-commit autoupdate (mne-tools#12869)
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