PyEtSimul Documentation ======================= |PyPI| |Downloads| |License| |DOI| .. |PyPI| image:: https://img.shields.io/pypi/v/pyetsimul :target: https://pypi.org/project/pyetsimul/ :alt: PyPI version .. |Downloads| image:: https://static.pepy.tech/badge/pyetsimul :target: https://pepy.tech/project/pyetsimul :alt: Downloads .. |License| image:: https://img.shields.io/badge/License-GPL--3.0-green :target: https://github.com/mh-salari/pyetsimul/blob/main/LICENSE :alt: License .. |DOI| image:: https://img.shields.io/badge/DOI-10.1145%2F3806023-blue :target: https://doi.org/10.1145/3806023 :alt: DOI **PyEtSimul** is an open-source Python framework for simulating video-based eye trackers by generating synthetic eye features through geometric modeling. The framework allows flexible positioning of eyes, cameras, and light sources in 3D space, with controlled variation of eye anatomical features and camera properties. .. image:: _static/images/eye_tracking_setup.png :alt: 3D eye tracking setup visualization with calibration analysis :align: center | PyEtSimul's core code is based on `et_simul `_ [1], but extends it by generalizing corneal modeling to conic surfaces rather than the common sphere, supporting non-circular pupil shapes, size-dependent pupil decentration, eyelid occlusion, and camera lens distortion. It also supports systematic data generation and principled comparison of gaze estimation algorithms across calibrated and uncalibrated settings. .. toctree:: :maxdepth: 2 :caption: Contents getting_started .. toctree:: :maxdepth: 2 :caption: Theory theory/coordinate_systems theory/eye_model theory/optical_calculations theory/camera_and_lights theory/gaze_estimation_models theory/evaluation_workflow theory/default_parameters .. toctree:: :maxdepth: 2 :caption: Guides guides/custom_gaze_model guides/custom_variations .. toctree:: :maxdepth: 2 :caption: API Reference api/index ---- .. note:: The theoretical content in this documentation is derived from the PyEtSimul paper [2] by the same authors. If you use PyEtSimul in your research, please cite [2]. | [1] Bohme, M., Dorr, M., Graw, M., Martinetz, T., & Barth, E. (2008). A software framework for simulating eye trackers. In *Proceedings of the 2008 Symposium on Eye Tracking Research & Applications (ETRA '08)*, pp. 251-258. ACM. `DOI: 10.1145/1344471.1344529 `_ | [2] Salari, M., Niehorster, D. C., Hansen, D. W., & Bednarik, R. (2026). PyEtSimul: An Open-Source Python Framework for Eye-Tracking Simulation. *Proceedings of the ACM on Human-Computer Interaction (PACMHCI)*, ETRA 2026. ACM. `DOI: 10.1145/3806023 `_ .. note:: This project has received funding from the European Union's Horizon Europe research and innovation funding program under grant agreement No 101072410, Eyes4ICU project. .. image:: ../resources/Funded_by_EU_Eyes4ICU.png :alt: Funded by EU Eyes4ICU :align: center :width: 500px | Author: `Mohammadhossein Salari `_