@testing.requires_testing_data
def test_mixed_stc():
 N = 90
 T = 2
 S = 3
 data = rng.randn(N, T)
 vertno = (S * [np.arange((N // S))])
 assert_raises(ValueError, MixedSourceEstimate, data=data, vertices=[np.arange(N)])
 stc = MixedSourceEstimate(data, vertno, 0, 1)
 vol = read_source_spaces(fname_vsrc)
 assert_raises(ValueError, stc.plot_surface, src=vol)

@ testing . requires_testing_data def test_mixed_stc ( ) : N = 90 T = 2 S = 3 data = rng . randn ( N , T ) vertno = ( S * [ np . arange ( ( N // S ) ) ] ) assert_raises ( ValueError , MixedSourceEstimate , data = data , vertices = [ np . arange ( N ) ] ) stc = MixedSourceEstimate ( data , vertno , 0 , 1 ) vol = read_source_spaces ( fname_vsrc ) assert_raises ( ValueError , stc . plot_surface , src = vol )
test source estimate from mixed source space .