From 74da0ff700c4db513e49e6210178d5b7730fbe8c Mon Sep 17 00:00:00 2001 From: Stefan Appelhoff Date: Thu, 2 Jan 2025 14:19:14 +0100 Subject: [PATCH] DOC: Update file naming conventions for DigMontage and fix typos --- doc/changes/v1.7.rst | 8 ++++---- doc/changes/v1.9.rst | 8 ++++---- mne/channels/montage.py | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/changes/v1.7.rst b/doc/changes/v1.7.rst index dfd3129a18d..6b118612541 100644 --- a/doc/changes/v1.7.rst +++ b/doc/changes/v1.7.rst @@ -75,12 +75,12 @@ Bugfixes - Fix validation of ``ch_type`` in :func:`mne.preprocessing.annotate_muscle_zscore`, by `Mathieu Scheltienne`_. (`#12444 `__) - Fix errant redundant use of ``BIDSPath.split`` when writing split raw and epochs data, by `Eric Larson`_. (`#12451 `__) - Disable config parser interpolation when reading BrainVision files, which allows using the percent sign as a regular character in channel units, by `Clemens Brunner`_. (`#12456 `__) -- - Fix the default color of :meth:`mne.viz.Brain.add_text` to properly contrast with the figure background color, by `Marijn van Vliet`_. (`#12470 `__) -- - Changed default ECoG and sEEG electrode sizes in brain plots to better reflect real world sizes, by `Liberty Hamilton`_ (`#12474 `__) +- Fix the default color of :meth:`mne.viz.Brain.add_text` to properly contrast with the figure background color, by `Marijn van Vliet`_. (`#12470 `__) +- Changed default ECoG and sEEG electrode sizes in brain plots to better reflect real world sizes, by `Liberty Hamilton`_ (`#12474 `__) - Fixed bugs with handling of rank in :class:`mne.decoding.CSP`, by `Eric Larson`_. (`#12476 `__) -- - Fix reading segmented recordings with :func:`mne.io.read_raw_eyelink` by `Dominik Welke`_. (`#12481 `__) +- Fix reading segmented recordings with :func:`mne.io.read_raw_eyelink` by `Dominik Welke`_. (`#12481 `__) - Improve compatibility with other Qt-based GUIs by handling theme icons better, by `Eric Larson`_. (`#12483 `__) -- - Fix problem caused by onsets with NaN values using :func:`mne.io.read_raw_eeglab` by `Jacob Woessner`_ (`#12484 `__) +- Fix problem caused by onsets with NaN values using :func:`mne.io.read_raw_eeglab` by `Jacob Woessner`_ (`#12484 `__) - Fix cleaning of channel names for non vectorview or CTF dataset including whitespaces or dash in their channel names, by `Mathieu Scheltienne`_. (`#12489 `__) - Fix bug with :meth:`mne.preprocessing.ICA.plot_sources` for ``evoked`` data where the legend contained too many entries, by `Eric Larson`_. (`#12498 `__) diff --git a/doc/changes/v1.9.rst b/doc/changes/v1.9.rst index 17a3a2ba1fe..0c6f7c1fddc 100644 --- a/doc/changes/v1.9.rst +++ b/doc/changes/v1.9.rst @@ -1,12 +1,12 @@ .. _changes_1_9_0: -1.9.0 (2024-12-18) -================== +Version 1.9.0 (2024-12-18) +========================== Dependencies ------------ -- - Minimum supported dependencies were updated in accordance with SPEC0_, most notably Python 3.10+ is now required. (`#12798 `__) +- Minimum supported dependencies were updated in accordance with SPEC0_, most notably Python 3.10+ is now required. (`#12798 `__) - Importing from ``mne.decoding`` now explicitly requires ``scikit-learn`` to be installed, by `Eric Larson`_. (`#12834 `__) - Compatibility improved for Python 3.13, by `Eric Larson`_. (`#13021 `__) @@ -63,7 +63,7 @@ New features - Add option to :func:`mne.preprocessing.fix_stim_artifact` to use baseline average to flatten TMS pulse artifact by `Fahimeh Mamashli`_ and `Padma Sundaram`_ and `Mohammad Daneshzand`_. (`#6915 `__) - Add support for `dict` type argument ``ref_channels`` to :func:`mne.set_eeg_reference`, to allow flexible re-referencing (e.g. ``raw.set_eeg_reference(ref_channels={'A1': ['A2', 'A3']})`` will set the new A1 data to be ``A1 - mean(A2, A3)``), by `Alex Lepauvre`_ and `Qian Chu`_ and `Daniel McCloy`_. (`#12366 `__) - Add reader for ANT Neuro files in the ``*.cnt`` format with :func:`~mne.io.read_raw_ant`, by `Mathieu Scheltienne`_, `Eric Larson`_ and `Proloy Das`_. (`#12792 `__) -- - Add support for a :class:`mne.transforms.Transform` in the argument ``trans`` of the coregistration GUI called with :func:`mne.gui.coregistration`, by `Mathieu Scheltienne`_. (`#12801 `__) +- Add support for a :class:`mne.transforms.Transform` in the argument ``trans`` of the coregistration GUI called with :func:`mne.gui.coregistration`, by `Mathieu Scheltienne`_. (`#12801 `__) - :meth:`~mne.io.Raw` and :meth:`~mne.Epochs.save` now return the path to the saved file(s), by `Victor Ferat`_. (`#12811 `__) - :func:`mne.channels.read_custom_montage` may now read a newer version of the ``.elc`` ASA Electrode file format, by `Stefan Appelhoff`_. (`#12830 `__) - Added the ``title`` argument to :func:`mne.viz.create_3d_figure`, and diff --git a/mne/channels/montage.py b/mne/channels/montage.py index 87550d66807..b22b9220e14 100644 --- a/mne/channels/montage.py +++ b/mne/channels/montage.py @@ -405,7 +405,7 @@ def save(self, fname, *, overwrite=False, verbose=None): Parameters ---------- fname : path-like - The filename to use. Should end in .fif or .fif.gz. + The filename to use. Should end in ``-dig.fif`` or ``-dig.fif.gz``. %(overwrite)s %(verbose)s