Test Maxwell filter reconstruction of bad channels.
()
| 699 | @pytest.mark.slowtest |
| 700 | @testing.requires_testing_data |
| 701 | def 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 |
nothing calls this directly
no test coverage detected