@slow_test
@testing.requires_testing_data
def test_bads_reconstruction():
 raw = read_crop(raw_fname, (0.0, 1.0))
 raw.info['bads'] = bads
 raw_sss = maxwell_filter(raw, origin=mf_head_origin, regularize=None, bad_condition='ignore')
 assert_meg_snr(raw_sss, read_crop(sss_bad_recon_fname), 300.0)

@ slow_test @ testing . requires_testing_data def test_bads_reconstruction ( ) : raw = read_crop ( raw_fname , ( 0.0 , 1.0 ) ) raw . info [ 'bads' ] = bads raw_sss = maxwell_filter ( raw , origin = mf_head_origin , regularize = None , bad_condition = 'ignore' ) assert_meg_snr ( raw_sss , read_crop ( sss_bad_recon_fname ) , 300.0 )
test maxwell filter reconstruction of bad channels .