MCPcopy
hub / github.com/mne-tools/mne-python / test_bads_reconstruction

Function test_bads_reconstruction

mne/preprocessing/tests/test_maxwell.py:701–709  ·  view source on GitHub ↗

Test Maxwell filter reconstruction of bad channels.

()

Source from the content-addressed store, hash-verified

699@pytest.mark.slowtest
700@testing.requires_testing_data
701def test_bads_reconstruction():
702 """Test Maxwell filter reconstruction of bad channels."""
703 raw = read_crop(raw_fname, (0.0, 1.0))
704 raw.info["bads"] = bads
705 with use_coil_def(elekta_def_fname):
706 raw_sss = maxwell_filter(
707 raw, origin=mf_head_origin, regularize=None, bad_condition="ignore"
708 )
709 assert_meg_snr(raw_sss, read_crop(sss_bad_recon_fname), 300.0)
710
711
712@pytest.mark.slowtest

Callers

nothing calls this directly

Calls 4

use_coil_defFunction · 0.90
assert_meg_snrFunction · 0.90
read_cropFunction · 0.85
maxwell_filterFunction · 0.85

Tested by

no test coverage detected