diff --git a/doc/whats_new.rst b/doc/whats_new.rst index 9e182b27a2c..626cb81b534 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -55,6 +55,8 @@ Changelog - Add :func:`mne.head_to_mri` to convert positions from head coordinates to MRI RAS coordinates, by `Joan Massich`_ and `Alex Gramfort`_ +- Add improved CTF helmet for :func:`mne.viz.plot_alignment` by `Eric Larson`_ + - :func:`mne.combine_evoked` and :func:`mne.grand_average` can now handle input with the same channels in different orders, if required, by `Jona Sassenhagen`_ - Add `split_naming` parameter to the `Raw.save` method to allow for BIDS-compatible raw file name construction by `Teon Brooks`_ diff --git a/examples/visualization/plot_meg_sensors.py b/examples/visualization/plot_meg_sensors.py index 8a1bbee0a2b..9480b4bcdd2 100644 --- a/examples/visualization/plot_meg_sensors.py +++ b/examples/visualization/plot_meg_sensors.py @@ -3,7 +3,7 @@ Plotting sensor layouts of MEG systems ====================================== -In this example, sensor layouts of different MEG systems are shown. +Sensor layouts of different MEG systems are shown. """ # Author: Eric Larson # diff --git a/mne/data/helmets/CTF_275.fif.gz b/mne/data/helmets/CTF_275.fif.gz index 5656e9ab1a4..94056dabe0e 100644 Binary files a/mne/data/helmets/CTF_275.fif.gz and b/mne/data/helmets/CTF_275.fif.gz differ diff --git a/mne/tests/test_surface.py b/mne/tests/test_surface.py index a08cc30d3e0..69ecf7d50af 100644 --- a/mne/tests/test_surface.py +++ b/mne/tests/test_surface.py @@ -39,9 +39,12 @@ def test_helmet(): fname_trans = op.join(base_dir, 'tests', 'data', 'sample-audvis-raw-trans.txt') trans = _get_trans(fname_trans)[0] - for fname in [fname_raw, fname_kit_raw, fname_bti_raw, fname_ctf_raw]: + for fname, n in [(fname_raw, 304), + (fname_kit_raw, 304), + (fname_bti_raw, 304), + (fname_ctf_raw, 348)]: helmet = get_meg_helmet_surf(read_info(fname), trans) - assert_equal(len(helmet['rr']), 304) # they all have 304 verts + assert_equal(len(helmet['rr']), n) assert_equal(len(helmet['rr']), len(helmet['nn']))