Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Edwin

About

Username
Edwin
Joined
Visits
67
Last Active
Roles
Member, Moderator
Thanked
16

Comments

  • Hi, That's a very good question! In short, it's impossible to present those values (in degrees of visual angle) without knowing more about your monitor. You would need to enter the screen distance and screen size in centimeters, and those would n…
  • Those are PsychoPy warnings. They're important if you wanted to display video stimuli.
  • Ooph, that's a pretty noisy video indeed! I don't have a lot of my code out publicly, but I do this type of thing quite frequently. I'd be happy to collaborate. Drop me a line at edwin.dalmaijer@mrc-cbu.cam.ac.uk , if you're interested. We can tr…
  • The problem seems to be that you're trying to create a Mouse instance before creating an active Display. The following minimal example illustrates the correct order: from pygaze.display import Display from pygaze.mouse import Mouse disp = Displa…
  • Hi @booradley, That might not actually be a very daft question at all! Because the resolution is quite high, I imagine there might be a layer of software in between OpenSesame and the actual display. What resolution does OpenSesame think the disp…
  • Hi Brandon, Thanks for your efforts to pinpoint the issue! I'll have a look at the documents when I can. (I know that's a bit unhelpful for now, but just wanted to let you know that I saw your message, and am not ignoring you.) Cheers, Edwin
  • That means you didn't install PyGaze correctly. It could be that you forgot to do so, or were not aware that you had to. Alternatively, it could be that the Python installation that your terminal refers to with "python" is not the one that you insta…
  • Hi GE, The accuracy is computed during the validation, and it is the average absolute distance between point-of-regard samples and a visible target. The precision is computed during the noise calibration, and it is the horizontal and vertical …
  • Hi Mirko, Interesting problem! My first instinct would be that the samples and messages are logged through different threads. Tobii developers implemented the PyGaze functionality for their Pro SDK, and they're super responsive on GitHub. Just…
  • That's definitely possible! If you're using the PyGaze library, simply use the EyeTracker class' log function to log whatever trigger value you would like (this can be a string, btw, it's not limited to 8-bit values like in most EEG systems). …
  • Hi Helio, Thanks for confirming that! Glad it works Yes, the distance is a default. Unfortunately, most trackers don't estimate such a thing, and thus the algorithm has to fall back on a default. It doesn't actually impact its behaviour a lot…
  • Hi Martina, Could you clarify why you think your variable is not in the right-most column? I just opened "subject-00.tsv", and there are definitely logged messages in there. For example, I can see "START_EXPL_0", "STOP_EXPL_0", "START_GRASP_0", "…
  • Hi Brandon, Excellent, thanks! That means that at least logging is working on some level. Few different things to double-check: * Nothing currently appears in the "USER" column? This is the right-most column in the TSV file. * Could yo…
  • In general, don't run experiment scripts from Spyder. Open a terminal, and type: cd "/home/Javier97/my_experiment_folder" python my_experiment.py Obviously replace the example path and file name with your own path and file name.
  • Hi Martina, The pygaze_log item uses PyGaze's EyeTracker.log function, which should add the variable to both files! Have you checked the right-most column in the TSV file? If it's not in there, I would be very interested in seeing your experim…
  • Hi Helio, It seems that the horizontal variability couldn't be calculated due to a lack of incoming samples. In other words: while attempting to compute the precision of your calibration, no samples were available to do so (maybe due to a sub-opt…
  • Hi Helio, It's good to know that at least the PyGame back-end works! I would advise using that. Sorry I couldn't be more helpful in hunting down the precise bugs in the other back-ends. You could try flagging them as Issues on the GitHub page …
  • Hi Martina, What happens is that you're trying to write a non-ascii character to a file (which might just be in a reference to a file location, and not something you're deliberately trying to log). Allowing this to work is on my TODO list for PyG…
  • Hi Martina, Yes, this is possible. You would need to use an inline script in which you use the eyetracker.sample() function to obtain the current gaze position within a while loop. You could compare the (x,y) coordinate this returns to the coordi…
  • Thanks for updating the thread with your solution! I'm happy it works for you
  • Hi Jackey, For medical purposes, I would advise against using my webcam eye-tracking software that @eduard linked without further improvements It's mostly a toy example, and too immature to work in this kind of context. Would you be able to d…
  • Hi Shri, From your output, it's clear that you are trying to run the "slideshow" experiment script with the TRACKERTYPE set to eyelink. This will not work, because you say you do not have an EyeLink, and because (as the error message indicates) y…
  • Hi Shri, It is unclear what you're after. Are you trying to obtain files generated through an eye tracker? Or are you wanting to do eye tracking with your webcam? If you're just looking for an example files, you can find two here: http://www.p…
  • Hi Helio, Thanks for the elaborate description! Just to get my head around the issue: The PyGame back-end is working perfectly, but you're unsure about its timing accuracy, correct? How come your stimuli are not compatible with PsychoPy? As fo…
  • Hi, As the error message indicates, this is not an error in the code at all, but simply indicates that you have not provided data. The error message indicates that it expects a data folder to exist (obviously at least one data file in the valid f…
  • Hi Helio, Yes, there is! You could add an inline_script item, and use the following code to its Run Phase: eyetracker.calibrate() You can make this inline_script item part of your trial sequence item, and use the "Run if" statement to only…
  • So you've used the tracker and OpenSesame and the PyGaze plug-ins in another experiment, and that does run? Could you confirm whether that other experiment still runs, please? If that other experiment runs using the very same software, it seems l…
  • Hi Brandon, This is a consequence of the inherent limitations of GazePoint's OpenGaze API. It works by adding a log message to a particular sample, and thus will log the 'active' log message when a sample is logged. This can lead to logging the s…
  • Did you set the drift check to "fixation triggered"? Pressing Q during a drift check should start a calibration. (Handled in this line.) What output does the Debug Window show?
  • In addition to @eduard's comments: Did you install the necessary libraries from the Tobii SDK? Do you have the correct license to access the 4C through the SDK?