From 373b070c9cf492e1576fb9613c650712a8c3a1eb Mon Sep 17 00:00:00 2001 From: Athish M Date: Fri, 3 Apr 2026 22:28:56 +0530 Subject: [PATCH 1/8] DOC: Add crossrefs to info docstring --- mne/_fiff/meas_info.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mne/_fiff/meas_info.py b/mne/_fiff/meas_info.py index fbb602caf2f..14d8c67cef7 100644 --- a/mne/_fiff/meas_info.py +++ b/mne/_fiff/meas_info.py @@ -1286,6 +1286,18 @@ class Info(ValidatedDict, SetChannelsMixin, MontageMixin, ContainsMixin): modified by various MNE-Python functions or methods (which have safeguards to ensure all fields remain in sync). + Some common methods that safely modify the ``info`` object include: + * :meth:`mne.io.Raw.add_proj`, :meth:`mne.Epochs.add_proj`, + :meth:`mne.Evoked.add_proj` + * :meth:`mne.io.Raw.del_proj`, :meth:`mne.Epochs.del_proj`, + :meth:`mne.Evoked.del_proj` + * :meth:`mne.io.Raw.set_channel_types`, + :meth:`mne.Epochs.set_channel_types`, + :meth:`mne.Evoked.set_channel_types` + * :meth:`mne.io.Raw.set_meas_date`, + :meth:`mne.Epochs.set_meas_date`, + :meth:`mne.Evoked.set_meas_date` + Parameters ---------- *args : list From 137843337b28a7bddd4b00737b9d473a9efeffd1 Mon Sep 17 00:00:00 2001 From: Athish M Date: Fri, 3 Apr 2026 23:12:53 +0530 Subject: [PATCH 2/8] MAINT: Add news fragment for PR 13811 --- doc/changes/dev/13811.doc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 doc/changes/dev/13811.doc.rst diff --git a/doc/changes/dev/13811.doc.rst b/doc/changes/dev/13811.doc.rst new file mode 100644 index 00000000000..e276659cfff --- /dev/null +++ b/doc/changes/dev/13811.doc.rst @@ -0,0 +1 @@ +Added cross-references to common modification methods in :class:mne.Info docstring. \ No newline at end of file From 57b3fdff657f3b85759ab627e43da113ce18748c Mon Sep 17 00:00:00 2001 From: ATHISH M Date: Wed, 15 Apr 2026 18:29:37 +0530 Subject: [PATCH 3/8] DOC: Add Epochs proj methods and fix news fragment extension --- doc/changes/dev/{13811.doc.rst => 13811.other.rst} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename doc/changes/dev/{13811.doc.rst => 13811.other.rst} (100%) diff --git a/doc/changes/dev/13811.doc.rst b/doc/changes/dev/13811.other.rst similarity index 100% rename from doc/changes/dev/13811.doc.rst rename to doc/changes/dev/13811.other.rst From e5df2121f87f92721fa76689a9fde921ba762f3c Mon Sep 17 00:00:00 2001 From: ATHISH M Date: Tue, 28 Apr 2026 20:10:47 +0530 Subject: [PATCH 4/8] DOC: Add missing Epochs proj methods --- mne/_fiff/meas_info.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mne/_fiff/meas_info.py b/mne/_fiff/meas_info.py index 14d8c67cef7..0d7e9e7e6c8 100644 --- a/mne/_fiff/meas_info.py +++ b/mne/_fiff/meas_info.py @@ -1287,16 +1287,16 @@ class Info(ValidatedDict, SetChannelsMixin, MontageMixin, ContainsMixin): safeguards to ensure all fields remain in sync). Some common methods that safely modify the ``info`` object include: - * :meth:`mne.io.Raw.add_proj`, :meth:`mne.Epochs.add_proj`, - :meth:`mne.Evoked.add_proj` - * :meth:`mne.io.Raw.del_proj`, :meth:`mne.Epochs.del_proj`, - :meth:`mne.Evoked.del_proj` - * :meth:`mne.io.Raw.set_channel_types`, - :meth:`mne.Epochs.set_channel_types`, - :meth:`mne.Evoked.set_channel_types` - * :meth:`mne.io.Raw.set_meas_date`, - :meth:`mne.Epochs.set_meas_date`, - :meth:`mne.Evoked.set_meas_date` + * :meth:`mne.io.Raw.add_proj`, :meth:`mne.Epochs.add_proj`, + :meth:`mne.Evoked.add_proj` + * :meth:`mne.io.Raw.del_proj`, :meth:`mne.Epochs.del_proj`, + :meth:`mne.Evoked.del_proj` + * :meth:`mne.io.Raw.set_channel_types`, + :meth:`mne.Epochs.set_channel_types`, + :meth:`mne.Evoked.set_channel_types` + * :meth:`mne.io.Raw.set_meas_date`, + :meth:`mne.Epochs.set_meas_date`, + :meth:`mne.Evoked.set_meas_date` Parameters ---------- From a515bc69b468279a4142b397d56295eb6eca7593 Mon Sep 17 00:00:00 2001 From: ATHISH M Date: Wed, 29 Apr 2026 09:28:22 +0530 Subject: [PATCH 5/8] DOC: Fix sphinx syntax in news fragment --- doc/changes/dev/13811.other.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes/dev/13811.other.rst b/doc/changes/dev/13811.other.rst index e276659cfff..2fc02aefcca 100644 --- a/doc/changes/dev/13811.other.rst +++ b/doc/changes/dev/13811.other.rst @@ -1 +1 @@ -Added cross-references to common modification methods in :class:mne.Info docstring. \ No newline at end of file +Added cross-references to common modification methods in :class:`mne.Info` docstring. From 9c193d7a9d6aaa5676356ae5aa5a7d2de3800160 Mon Sep 17 00:00:00 2001 From: Athish M Date: Thu, 11 Jun 2026 17:36:40 +0530 Subject: [PATCH 6/8] DOC: Add rename_channels to info docstring --- mne/_fiff/meas_info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mne/_fiff/meas_info.py b/mne/_fiff/meas_info.py index 0d7e9e7e6c8..be3a71f0170 100644 --- a/mne/_fiff/meas_info.py +++ b/mne/_fiff/meas_info.py @@ -1291,6 +1291,9 @@ class Info(ValidatedDict, SetChannelsMixin, MontageMixin, ContainsMixin): :meth:`mne.Evoked.add_proj` * :meth:`mne.io.Raw.del_proj`, :meth:`mne.Epochs.del_proj`, :meth:`mne.Evoked.del_proj` + * :meth:`mne.io.Raw.rename_channels`, + :meth:`mne.Epochs.rename_channels`, + :meth:`mne.Evoked.rename_channels` * :meth:`mne.io.Raw.set_channel_types`, :meth:`mne.Epochs.set_channel_types`, :meth:`mne.Evoked.set_channel_types` From 6750a3c7471e730d4829f9b759bb9902fdda9c11 Mon Sep 17 00:00:00 2001 From: Athish M Date: Thu, 11 Jun 2026 18:29:55 +0530 Subject: [PATCH 7/8] DOC: Fix Sphinx indentation and blank line error --- mne/_fiff/meas_info.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mne/_fiff/meas_info.py b/mne/_fiff/meas_info.py index be3a71f0170..1fca46b73cd 100644 --- a/mne/_fiff/meas_info.py +++ b/mne/_fiff/meas_info.py @@ -1286,7 +1286,8 @@ class Info(ValidatedDict, SetChannelsMixin, MontageMixin, ContainsMixin): modified by various MNE-Python functions or methods (which have safeguards to ensure all fields remain in sync). - Some common methods that safely modify the ``info`` object include: + Some common methods that safely modify the ``info`` object include: + * :meth:`mne.io.Raw.add_proj`, :meth:`mne.Epochs.add_proj`, :meth:`mne.Evoked.add_proj` * :meth:`mne.io.Raw.del_proj`, :meth:`mne.Epochs.del_proj`, From 7cf9a4bed51bee5113ed99244491b23785c79245 Mon Sep 17 00:00:00 2001 From: Athish M Date: Fri, 12 Jun 2026 11:15:49 +0530 Subject: [PATCH 8/8] MAINT: Add contributor name to changelog --- doc/changes/dev/13811.other.rst | 2 +- doc/changes/names.inc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/changes/dev/13811.other.rst b/doc/changes/dev/13811.other.rst index 2fc02aefcca..42bc37f36e5 100644 --- a/doc/changes/dev/13811.other.rst +++ b/doc/changes/dev/13811.other.rst @@ -1 +1 @@ -Added cross-references to common modification methods in :class:`mne.Info` docstring. +Added cross-references to common modification methods in :class:`mne.Info` docstring by :newcontrib:`Athish M`. \ No newline at end of file diff --git a/doc/changes/names.inc b/doc/changes/names.inc index a664a36c5ed..86f71d63de2 100644 --- a/doc/changes/names.inc +++ b/doc/changes/names.inc @@ -34,6 +34,7 @@ .. _Arne Pelzer: https://github.com/aplzr .. _Ashley Drew: https://github.com/ashdrew .. _Asish Panda: https://github.com/kaichogami +.. _Athish M: https://github.com/athishdresu .. _Austin Hurst: https://github.com/a-hurst .. _Ayushi Satodiya: https://github.com/ayuclan .. _Baris Talar: https://github.com/baris-talar