7f34517b9444a5d6c0585699a27d8c94e3840ab7,mne/beamformer/tests/test_rap_music.py,,test_rap_music_picks,#,180
Before Change
Test RAP-MUSIC with picking.
evoked = mne.read_evokeds(fname_ave, condition="Right Auditory",
baseline=(None, 0))
evoked.crop(tmin=0.05, tmax=0.15) // select N100
evoked.pick_types(meg=True, eeg=False)
forward = mne.read_forward_solution(fname_fwd)
noise_cov = mne.read_cov(fname_cov)
After Change
Test RAP-MUSIC with picking.
evoked = mne.read_evokeds(fname_ave, condition="Right Auditory",
baseline=(None, 0))
with pytest.warns(RuntimeWarning, match="Cropping removes baseline"):
evoked.crop(tmin=0.05, tmax=0.15) // select N100
evoked.pick_types(meg=True, eeg=False)
forward = mne.read_forward_solution(fname_fwd)
noise_cov = mne.read_cov(fname_cov)
dipoles = rap_music(evoked, forward, noise_cov, n_dipoles=2)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances
Project Name: mne-tools/mne-python
Commit Name: 7f34517b9444a5d6c0585699a27d8c94e3840ab7
Time: 2020-09-14
Author: richard.hoechenberger@gmail.com
File Name: mne/beamformer/tests/test_rap_music.py
Class Name:
Method Name: test_rap_music_picks
Project Name: mne-tools/mne-python
Commit Name: 7f34517b9444a5d6c0585699a27d8c94e3840ab7
Time: 2020-09-14
Author: richard.hoechenberger@gmail.com
File Name: mne/viz/tests/test_topo.py
Class Name:
Method Name: test_plot_topo_single_ch
Project Name: mne-tools/mne-python
Commit Name: 7f34517b9444a5d6c0585699a27d8c94e3840ab7
Time: 2020-09-14
Author: richard.hoechenberger@gmail.com
File Name: mne/minimum_norm/tests/test_inverse.py
Class Name:
Method Name: test_make_inverse_operator_vector
Project Name: mne-tools/mne-python
Commit Name: 7f34517b9444a5d6c0585699a27d8c94e3840ab7
Time: 2020-09-14
Author: richard.hoechenberger@gmail.com
File Name: mne/beamformer/tests/test_rap_music.py
Class Name:
Method Name: _get_data