Launching the Application

You can run the standalone pyETA.exe file


Alternatively,

Prerequisite: Ensure pyETA-toolbox is installed through as a package before proceeding.

pyeta --version

This section explains how to launch the tool using either the Command Line Interface (CLI) or Graphical User Interface (GUI).

CLI (Command Line Interface)

The pyETA tool provides three CLI commands: track, window, and validate.

pyETA track

Tracks real-time eye-tracking data with customizable options.

Syntax:

pyETA track [parameters]

Parameters:

  • --push_stream: Streams data to an LSL stream.

  • --data_rate: Sets the data stream rate.

  • --use_mock: Uses a mock eye tracker instead of a real device.

  • --fixation: Includes fixation duration in the data stream.

  • --velocity: Defines the velocity threshold for fixation detection.

  • --accept_screen_nans: Preserves NaN values without correction.

  • --save_data: Saves the tracked data to a file.

  • --verbose: Enables detailed debug output.

  • --duration: Specifies tracking duration (in seconds).

  • --screen_index: Selects the screen for multi-screen setups.

Example: Run the tracker with a mock service and fixation detection for 10 seconds:

pyETA track --fixation --use_mock --duration 10

GUI (Graphical User Interface)

Interface of pyETA application
Interface of pyETA

Launch the GUI version of the tool with the following command:

pyETA application

if you wish to capture the debug logs or terminal outputs, In any of the commands use the --debug flag.

generic example is shown below

pyETA --debug [command] [parameter]

Last updated