From 48cadad95b99cf8fd2bf38118daccaaa0a11d83e Mon Sep 17 00:00:00 2001 From: btkcodedev Date: Tue, 26 Dec 2023 20:11:44 +0530 Subject: [PATCH] chore: update preprocessing tutorial for using inst.pick() instead of pick_types() Updated the tutorial by removing legacy method call of mne.io.Raw.pick_types() to instance.pick() --- tutorials/preprocessing/15_handling_bad_channels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/preprocessing/15_handling_bad_channels.py b/tutorials/preprocessing/15_handling_bad_channels.py index daac97976a5..93ed1591333 100644 --- a/tutorials/preprocessing/15_handling_bad_channels.py +++ b/tutorials/preprocessing/15_handling_bad_channels.py @@ -239,7 +239,7 @@ # %% # Note that we used the ``exclude=[]`` trick in the call to -# :meth:`~mne.io.Raw.pick_types` to make sure the bad channels were not +# :meth:`pick()` method from the instance of `~mne.io.Raw` to make sure the bad channels were not # automatically dropped from the selection. Here is the corresponding example # with the interpolated gradiometer channel; since there are more channels # we'll use a more transparent gray color this time: