Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance dynamics plot error for no-choice trials #4

Open
sjara opened this issue Jul 27, 2016 · 0 comments
Open

Performance dynamics plot error for no-choice trials #4

sjara opened this issue Jul 27, 2016 · 0 comments
Labels

Comments

@sjara
Copy link
Owner

sjara commented Jul 27, 2016

If no trials have choices by the time the first point of the "performance dynamics plot" is calculated (at trial 10, by default), the system gives the following error:

/usr/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ScatterPlotItem.py:186: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  self.atlasData[x:x+w, y:y+h] = rendered[key]
/usr/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ScatterPlotItem.py:148: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  arr = self.atlasData[x:x+w, y:y+w]
/usr/lib/python2.7/dist-packages/pyqtgraph/graphicsItems/ScatterPlotItem.py:183: VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future
  self.atlasData = np.zeros((width, height, 4), dtype=np.ubyte)
/home/jarauser/src/taskontrol/plugins/performancedynamicsplot.py:105: VisibleDeprecationWarning: boolean index did not match indexed array along dimension 0; dimension is 4000 but corresponding boolean dimension is 1
  validCorrect = correct[validTrials] # SIZE:nValid
@sjara sjara added the plots label Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant