You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also have a problem with the function, though it is another error:
_/content/gazeplotter.py in draw_display(dispsize, imagefile)
408 # draw the image on the screen
409 screen[y:y+h,x:x+w,:] += img
--> 410 # dots per inch
411 dpi = 100.0
412 # determine the figure size in inches
ValueError: operands could not be broadcast together with shapes (768,768,3) (768,1024,3) (768,768,3)_
It is the issue from ECEM workshop
File "/Applications/anaconda/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py", line 880, in runfile
execfile(filename, namespace)
File "/Applications/anaconda/lib/python2.7/site-packages/spyder/utils/site/sitecustomize.py", line 94, in execfile
builtins.execfile(filename, *where)
File "/Users/AShvarts/Documents/pyton/ECEMWorkshop/afternoon/analysis_mine.py", line 145, in
savefilename=plotpath)
File "pygazeanalyser/gazeplotter.py", line 227, in draw_heatmap
heatmap[y:y+gwh,x:x+gwh] += gaus * fix['dur'][i]
TypeError: slice indices must be integers or None or have an index method
The text was updated successfully, but these errors were encountered: