@slow_test
@requires_svd_convergence
@testing.requires_testing_data
def test_all():
 raw_fnames = (raw_fname, raw_fname, erm_fname, sample_fname)
 sss_fnames = (sss_st1FineCalCrossTalkRegIn_fname, sss_st1FineCalCrossTalkRegInTransSample_fname, sss_erm_st1FineCalCrossTalkRegIn_fname, sss_samp_fname)
 fine_cals = (fine_cal_fname, fine_cal_fname, fine_cal_fname, fine_cal_mgh_fname)
 coord_frames = ('head', 'head', 'meg', 'head')
 ctcs = (ctc_fname, ctc_fname, ctc_fname, ctc_mgh_fname)
 mins = (3.5, 3.5, 1.2, 0.9)
 meds = (10.8, 10.4, 3.2, 6.0)
 st_durs = (1.0, 1.0, 1.0, None)
 destinations = (None, sample_fname, None, None)
 origins = (mf_head_origin, mf_head_origin, mf_meg_origin, mf_head_origin)
 for (ii, rf) in enumerate(raw_fnames):
  raw = read_crop(rf, (0.0, 1.0))
  with warnings.catch_warnings(record=True):
   sss_py = maxwell_filter(raw, calibration=fine_cals[ii], cross_talk=ctcs[ii], st_duration=st_durs[ii], coord_frame=coord_frames[ii], destination=destinations[ii], origin=origins[ii])
  sss_mf = read_crop(sss_fnames[ii])
  assert_meg_snr(sss_py, sss_mf, mins[ii], meds[ii], msg=rf)

@ slow_test @ requires_svd_convergence @ testing . requires_testing_data def test_all ( ) : raw_fnames = ( raw_fname , raw_fname , erm_fname , sample_fname ) sss_fnames = ( sss_st1FineCalCrossTalkRegIn_fname , sss_st1FineCalCrossTalkRegInTransSample_fname , sss_erm_st1FineCalCrossTalkRegIn_fname , sss_samp_fname ) fine_cals = ( fine_cal_fname , fine_cal_fname , fine_cal_fname , fine_cal_mgh_fname ) coord_frames = ( 'head' , 'head' , 'meg' , 'head' ) ctcs = ( ctc_fname , ctc_fname , ctc_fname , ctc_mgh_fname ) mins = ( 3.5 , 3.5 , 1.2 , 0.9 ) meds = ( 10.8 , 10.4 , 3.2 , 6.0 ) st_durs = ( 1.0 , 1.0 , 1.0 , None ) destinations = ( None , sample_fname , None , None ) origins = ( mf_head_origin , mf_head_origin , mf_meg_origin , mf_head_origin ) for ( ii , rf ) in enumerate ( raw_fnames ) : raw = read_crop ( rf , ( 0.0 , 1.0 ) ) with warnings . catch_warnings ( record = True ) : sss_py = maxwell_filter ( raw , calibration = fine_cals [ ii ] , cross_talk = ctcs [ ii ] , st_duration = st_durs [ ii ] , coord_frame = coord_frames [ ii ] , destination = destinations [ ii ] , origin = origins [ ii ] ) sss_mf = read_crop ( sss_fnames [ ii ] ) assert_meg_snr ( sss_py , sss_mf , mins [ ii ] , meds [ ii ] , msg = rf )
test to ensure transform .