-
Notifications
You must be signed in to change notification settings - Fork 210
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
Calibration module does not work using eyetribe #71
Comments
Hi Jan, Thanks for the question. Would you mind trying the following code? (I assume you have the latest version of PyGaze installed, as downloaded from this GitHub page.)
Your example contains syntax errors, and I can't see what you set the tracker's type to. So this is just to confirm that you are actually using the EyeTribe. Cheers, |
Hallo Edwin, Kind regards, On Tue, Jul 19, 2016 at 3:33 PM, Edwin Dalmaijer notifications@github.com
-- coding: utf-8 --This file is part of PyGaze - the open-source toolbox for eye trackingPyGaze is a Python module for easily creating gaze contingent experimentsor other software (as well as non-gaze contingent experiments/software)Copyright (C) 2012-2013 Edwin S. DalmaijerThis program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation, either version 3 of the License, or(at your option) any later version.This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program. If not, see http://www.gnu.org/licenses/MAINDUMMYMODE = False # False for gaze contingent display, True for dummy mode (using mouse or joystick) DISPLAYSCREENNR = 0 # number of the screen used for displaying experiment SOUNDSOUNDOSCILLATOR = 'sine' # 'sine', 'saw', 'square' or 'whitenoise' INPUTMOUSEBUTTONLIST = None # None for all mouse buttons; list of numbers for buttons of choice (e.g. [1,3] for buttons 1 and 3) EYETRACKERgeneralTRACKERTYPE = 'eyetribe' # either 'smi', 'eyelink' or 'dummy' (NB: if DUMMYMODE is True, trackertype will be set to dummy automatically) EyeLink onlyEYELINKCALBEEP = True # Calibration beep with each jump EyeTribe onlyEYETRIBECALIBDUR = 750 SMI onlySMIIP = '127.0.0.1' |
Dear Edwin,
I'm trying to work with teh eyetribe and pygaze. Mainly it's calibration mode.
When running the current code:
Once, what appears to be the calibration module, I'm asked to return a space, a q or a s. None of the entries seem to work. I don't get an error, only the warnings. Any idea what I should do differently?
In [1]: runfile('C:/Python27/Lib/site-packages/xy/temp13.py', wdir='C:/Python27/Lib/site-packages/xy')
C:\Python27\lib\site-packages\psychopy\visual\helpers.py:176: FutureWarning: comparison to
None
will result in an elementwise object comparison in the future.if color==None:
C:\Python27\lib\site-packages\psychopy\visual\basevisual.py:943: FutureWarning: comparison to
None
will result in an elementwise object comparison in the future.if value == None:
In [1]: runfile('C:/Python27/Lib/site-packages/xy/temp13.py', wdir='C:/Python27/Lib/site-packages/xy')
C:\Python27\lib\site-packages\psychopy\visual\helpers.py:176: FutureWarning: comparison to
None
will result in an elementwise object comparison in the future.if color==None:
C:\Python27\lib\site-packages\psychopy\visual\basevisual.py:943: FutureWarning: comparison to
None
will result in an elementwise object comparison in the future.if value == None:
Kind regards,
Jan Koopman
The text was updated successfully, but these errors were encountered: