Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changes/dev/13618.notable.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Clarify average EEG reference behavior in documentation for add_reference_channels.
6 changes: 6 additions & 0 deletions mne/channels/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,6 +812,12 @@ def add_reference_channels(self, ref_channels):
-------
inst : same type as the input data
The modified instance.
note:: If you are adding a new reference channel to data that
will eventually be used with an average reference,
you should also call :meth:`mne.io.Raw.set_eeg_reference`
(or the equivalent Epochs/Evoked method) to ensure the
mathematical reference is updated correctly.
"""
return add_reference_channels(self, ref_channels, copy=False)

Expand Down