Running a Session Single User

SightLabVR.py is for running a session using the GUI interface. If you do not want to use the GUI and want to use code set gui = False in the code. You can also use sightlab = sl.SightLab(configpath = 'sightlab_configs/YourConfigFile.stlb') to run a session in "participant mode", where there are no options to modify the experiment. For running blocks of trials see this page


Before running a session you may want to calibrate if using an eye tracked headset. This varies depending on the hardware being used. See the Supported Hardware page for more information. 


If running with the GUI you can edit options if necessary, or if running as an executable or as a participant you will just choose your hardware and click "Continue"

Running the Session




After you quit, you'll see data files will be saved in the "data" folder


Note that for the Demo version there is a 5 minute time limit on execution. The full version allows as many data files as you want and no time limit. 

Trial_data  shows a timestamp along with the x,y,z coordinates of the gaze intersect (combined and individual eye), eye euler, head position (6DOF), Fixation/Saccade status, saccade amplitude, velocity, average amplitude, peak velocity, pupil diameter, eye openness (if you are using a headset that tracks those), and custom flags. See documentation on how you can add more items to this file

Experiment Summary - Shows a summary of the view count, fixation count, dwell time, average view time, per trial saccade calculations, time to first fixation, as well as any additional data that you want to summarize per trial. See documentation on how to add more data. 

Trial Timeline - Shows a timeline of when objects were viewed, for how long, and how many fixations there were per object

Run the Session Replay to view analytics such as heatmaps, scan paths, dwell time, user interactions and more. Use spacebar to start and stop replay. Can be viewed either on the Desktop or in a headset. See the Session Replay page in the documentation for more information. 

Screen Recordings -  If "Screen Record" is checked, screen recordings will be saved to a new folder "recordings". It is suggested to install the moviepy python library via the Package Manager to compress the video recordings, as these come in uncompressed by default. The video recordings can also be brought into Biopac Acqknowledge synchronized with the physiological recording if using Biopac. See the Biopac page for more information. 

There is also a config.json file that saves your experiment settings, as well as .rply files in the replay_data folder, that is used for the session replay.