Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
SFN 2015
Description
Reported on Google group by Toygun Başaklar:
Hi everyone,
So I'm new to TVB and dealing with the evoked responses in the visual cortex. So I found this tutorial (https://github.com/the-virtual-brain/tvb-documentation/blob/master/tutorials/Tutorial_Evoked_Responses_In_The_Visual_Cortex.ipynb) and tried to observe the outcome of this. I tried it in both scripting interface and the web based GUI. I did what exactly the tutorial says but after this line,
rec = (monitors.TemporalAverage(period=1e3 / 2048.), monitors.EEG(projection_matrix_data = pr, period=1e3/2048.))I get this error:
Traceback (most recent call last): File "<pyshell#8>", line 1, in <module> rec = (monitors.TemporalAverage(period=1e3 / 2048.), monitors.EEG(projection_matrix_data = pr, period=1e3/2048.)) NameError: name 'pr' is not definedBut "pr" is defined in the above code like this
root_path = os.path.dirname(simulator.__file__) proj_mat_path = os.path.join(root_path,'files', "connectivity","o52r00_irp2008", "projection_eeg_1020_62.mat") matlab_data = io.matlab.loadmat(proj_mat_path) eeg_projection = matlab_data["ProjectionMatrix"] pr = projections.ProjectionRegionEEG() pr.projection_data = eeg_projectionI can't solve the problem. Can you help me ?
Also when I tried to apply this tutorial on web based GUI, It also gives me an error like this:
'Discrete equation' has no attribute '_pattern'
And I read all the manuals for the web based GUI, I believe I did not do nothing wrong. Although when I select the "Spatiotemporal stimulus" as "None", It gives me default EEG signals.
Thanks in advance