@spm_face.requires_spm_data
def test_read_spm_ctf():
 data_path = spm_face.data_path()
 raw_fname = op.join(data_path, 'MEG', 'spm', 'SPM_CTF_MEG_example_faces1_3D.ds')
 raw = read_raw_ctf(raw_fname)
 extras = raw._raw_extras[0]
 assert_equal(extras['n_samp'], raw.n_times)
 assert_false((extras['n_samp'] == extras['n_samp_tot']))

@ spm_face . requires_spm_data def test_read_spm_ctf ( ) : data_path = spm_face . data_path ( ) raw_fname = op . join ( data_path , 'MEG' , 'spm' , 'SPM_CTF_MEG_example_faces1_3D.ds' ) raw = read_raw_ctf ( raw_fname ) extras = raw . _raw_extras [ 0 ] assert_equal ( extras [ 'n_samp' ] , raw . n_times ) assert_false ( ( extras [ 'n_samp' ] == extras [ 'n_samp_tot' ] ) )
test ctf reader with omitted samples .