ETSettings.CalibrationPatterns

ETSettings.CalibrationPatterns(
    points_5=(lambda: [(0.0, 0.0), (-0.8, 0.8), (0.8, 0.8), (-0.8, -0.8), (0.8, -0.8)])(),
    points_9=(lambda: [(-0.8, 0.8), (0.0, 0.8), (0.8, 0.8), (-0.8, 0.0), (0.0, 0.0), (0.8, 0.0), (-0.8, -0.8), (0.0, -0.8), (0.8, -0.8)])(),
    num_samples_mouse=5,
)

Standard calibration point patterns in normalized coordinates.

Defines commonly used calibration patterns in normalized units where the screen ranges from -1 to +1 in both dimensions. These universal coordinates work across different screen sizes, aspect ratios, and PsychoPy unit systems.

Convert to window-specific coordinates at runtime using the norm_to_window_units() function from the Coords module.

Attributes

<<<<<<< HEAD ======= >>>>>>> origin/main <<<<<<< HEAD ======= >>>>>>> origin/main
Name Type Description
points_5 list of tuple 5-point calibration pattern (4 corners + center). Standard for quick calibrations with good coverage. Pattern: corners at �0.4 from edges to avoid screen boundaries.
points_9 list of tuple 9-point calibration pattern (3�3 grid). Standard for comprehensive calibrations requiring high accuracy. Pattern: 3 rows � 3 columns with �0.4 positioning.
num_samples_mouseintintNumber of mouse position samples to collect per calibration point in simulation mode. Default 5.

Examples

>>> from DeToX import ETSettings as cfg
>>> from DeToX.Coords import norm_to_window_units
>>> 
>>> # Change number of mouse samples collected per point
>>> cfg.calibration.num_samples_mouse = 10
Back to top