pymovements.base.Experiment.__init__

Experiment.__init__(screen_width_px: int, screen_height_px: int, screen_width_cm: float, screen_height_cm: float, distance_cm: float, origin: str, sampling_rate: float)[source]

Initializes Experiment.

Parameters:
  • screen_width_px (int) – Screen width in pixels

  • screen_height_px (int) – Screen height in pixels

  • screen_width_cm (float) – Screen width in centimeters

  • screen_height_cm (float) – Screen height in centimeters

  • distance_cm (float) – Eye-to-screen distance in centimeters

  • origin (str) – Specifies the screen location of the origin of the pixel coordinate system.

  • sampling_rate (float) – Sampling rate in Hz