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