[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-443288-105":3,"doc-detail-443288-en":81,"detail-sidebar-cat-0-en-105":116,"doc-similar-443288":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","pupeyes-an-interactive-python-library-for-eye-movement-data-processing","PupEyes - An interactive Python library for eye movement data processing","","PupEyes is an open-source Python package for preprocessing and interactive visualization of pupil size and fixation data. It supports EyeLink, Tobii, and any dataset meeting minimal formatting standards, offering a principled pupil preprocessing pipeline and diagnostic exploration tools. Beyond pupil size, PupEyes enables fixation visualization, AOI drawing and AOI-based metric computation, leveraging pandas for seamless integration with Python analysis workflows. Executable tutorials are provided to ensure computational reproducibility and modification in a virtual environment.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/pupeyes-an-interactive-python-library-for-eye-movement-data-processing/443288/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/pupeyes-an-interactive-python-library-for-eye-movement-data-processing/443288.png","ImageObject",300,407,{"name":42,"@type":43},"Aria","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-21","2026-09-29",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What data does PupEyes preprocess and visualize?","Question",{"text":63,"@type":64},"PupEyes preprocesses and visualizes pupil size and fixation data. It also provides tools for drawing areas of interest (AOIs) and computing AOI-based metrics.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Which eye-tracker systems are supported by PupEyes?",{"text":68,"@type":64},"PupEyes supports data collected from EyeLink and Tobii eye-trackers, as well as generic datasets that follow minimal formatting standards.",{"name":70,"@type":61,"acceptedAnswer":71},"How does PupEyes help researchers inspect data quality during preprocessing?",{"text":72,"@type":64},"PupEyes provides interactive visualizations to explore individual trials, inspect data quality at stages of the preprocessing pipeline, and identify potential outliers.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},443288,1791290771,{"code":4,"msg":82,"data":83},"success",{"doc_id":79,"user_id":84,"nickname":42,"user_avatar":85,"doc_module":4,"category_id":86,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":87,"file_id":88,"file_url":89,"file_type":90,"file_size":91,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":92,"language":93,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":94,"faqs":95,"seo_title":96,"seo_description":12,"update_tm":97,"read_time":98,"preview_page_count":33,"preview_urls":99},2336464648322,"https://ap-avatar.wpscdn.com/avatar/2200025388227c56fec?_k=1778556882303663488",8,"Behavior Research Methods (2026) 58:29  \n[https://doi.org/10.3758/s13428-025-02830-z](https://doi.org/10.3758/s13428-025-02830-z)  \nPupEyes: An interactive Python library for eye movement data processing  \nHan Zhang1 · John Jonides1  \nReceived: 7 April 2025 / Accepted: 24 August 2025 / Published online: 5 January 2026 © The Author(s) 2026  \nAbstract  \nWe present PupEyes, an open-source Python package for preprocessing and visualizing pupil size and fixation data. PupEyes supports data collected from EyeLink and Tobii eye-trackers as well as any generic dataset that conforms to minimal formatting standards. Developed with current best practices, PupEyes provides a comprehensive pupil preprocessing pipeline and interactive tools for data exploration and diagnosis. In addition to pupil size data, PupEyes provides interactive tools for visualizing fixation data, drawing areas of interest (AOIs), and computing AOI-based metrics. PupEyes uses the pandas data structure and can work seamlessly with other data analysis packages within the Python ecosystem. Overall, PupEyes (1) ensures that pupil size data are preprocessed in a principled, transparent, and reproducible manner,(2) helps researchers better understand their data through interactive visualizations, and (3) enables flexible extensions for further analysis tailored to specific research goals. To ensure computational reproducibility, we provide detailed, executable tutorials (https://pupey[es.readthedocs.io/](es.readthedocs.io/)) that allow users to reproduce and modify the code examples in a virtual environment.  \nKeywords Eye-tracking · Pupillometry · Fixation · Python · Data analysis  \nResearchers have long been interested in the relationship between eye movements and mental processes (Javal, 1878) . Eye movements such as fixations and saccades offer valuable insights into an observer’s moment-to-moment cognitive processing. In addition to tracking gaze position, most modern eye-trackers also record pupil size, a physiological measure associated with a wide range of cognitive processes (Mathôt, 2018) and the neurobiology of the locus coeruleus (Aston-Jones & Cohen, 2005). In recent years, eye-tracking has become increasingly accessible, partly due to the growing popularity of open-source tools. Originally developed as a general-purpose language, Python is now extensively used for scientific computing and data analysis. Within psychology, Python-based tools such as OpenSesame (Mathôtet al., 2012) and PsychoPy (Peirce, 2007) have gained traction for experimental design. These programs are compatible with many modern eye-tracking systems, which now offer an open-access, low-level application programming interface (API), allowing researchers to conduct eye-tracking  \n* Han Zhang [hanzh@umich.edu](hanzh@umich.edu)  \n1 University of Michigan, Ann Arbor, MI, USA  \nexperiments without purchasing commercial software. Furthermore, data analysis libraries such as pandas (McKinney, 2010 ; The pandas development team, 2020) and MNE (Gramfort et al., 2013) make it convenient, and sometimes necessary, to design experiments and analyze data within a unified Python environment.  \nWith the growing accessibility of eye-tracking technology comes a considerable variability in how pupil size and fixation data are processed. While several recent reviews have outlined best practices for pupil data analysis (e.g., Kret & Sjak-Shie, 2019 ; Mathôt & Vilotijević, 2022 ; Mathôt et al., 2018 ; Reilly et al., 2024 ; Steinhauer et al., 2022 ; Winn et al., 2018), there has been limited effort to implement these practices in Python. Moreover, in our experience, one of the most critical aspects of eye movement data analysis is effective data visualization. Human observers make rapid, momentto-moment decisions about where and when to look. Being able to “relive” these decisions through visualization helps researchers better understand their data and uncover new insights. Visualization is also critical in pupi","cbCaifwEtpuaXxky","https://ap.wps.com/l/cbCaifwEtpuaXxky","pdf",4573664,25,"English","# Abstract\n# Keywords\n# Background\n# Motivation and Need\n# Proposed Solution: PupEyes\n# Key Features\n# Design Considerations","[{\"question\":\"What data does PupEyes preprocess and visualize?\",\"answer\":\"PupEyes preprocesses and visualizes pupil size and fixation data. It also provides tools for drawing areas of interest (AOIs) and computing AOI-based metrics.\"},{\"question\":\"Which eye-tracker systems are supported by PupEyes?\",\"answer\":\"PupEyes supports data collected from EyeLink and Tobii eye-trackers, as well as generic datasets that follow minimal formatting standards.\"},{\"question\":\"How does PupEyes help researchers inspect data quality during preprocessing?\",\"answer\":\"PupEyes provides interactive visualizations to explore individual trials, inspect data quality at stages of the preprocessing pipeline, and identify potential outliers.\"}]","PupEyes - An interactive Python library for eye movement data processing | PDF",1790703524,63,[100,104,108,112],{"page_no":22,"url":101,"width":102,"height":103},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/353e00e2b2de78edcbbe19b3a415b9cb.webp",983,1305,{"page_no":26,"url":105,"width":106,"height":107},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/93e5c31181b3201acf1381c59692c414.webp",982,1304,{"page_no":30,"url":109,"width":110,"height":111},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/cb8c402d736694e98c4bc2222adc85a2.webp",981,1303,{"page_no":33,"url":113,"width":114,"height":115},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/029a00eb00cf50718e6a787e95a8783b.webp",980,1301,{"code":4,"msg":82,"data":117},[118,122,126,130,135,140,145,148,153,156,159],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":120,"slug":121},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":124,"slug":125},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":128,"slug":129},"Exam",70,"exam",{"id":131,"doc_module":4,"doc_module_name":25,"category_name":132,"show_sort_weight":133,"slug":134},5,"Comic",60,"comic",{"id":136,"doc_module":4,"doc_module_name":25,"category_name":137,"show_sort_weight":138,"slug":139},6,"Technology",50,"technology",{"id":141,"doc_module":4,"doc_module_name":25,"category_name":142,"show_sort_weight":143,"slug":144},7,"Healthcare",40,"healthcare",{"id":86,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":146,"slug":147},30,"research-report",{"id":149,"doc_module":4,"doc_module_name":25,"category_name":150,"show_sort_weight":151,"slug":152},9,"Religion & Spirituality",20,"religion-spirituality",{"id":151,"doc_module":4,"doc_module_name":25,"category_name":154,"show_sort_weight":151,"slug":155},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":157,"show_sort_weight":55,"slug":158},"Lifestyle","lifestyle",{"id":160,"doc_module":4,"doc_module_name":25,"category_name":161,"show_sort_weight":131,"slug":162},19,"General","general",{"list":164,"token":11},[165,172,179,185,191,198,204,211,218,225],{"doc_id":166,"doc_title":167,"file_type":90,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":29,"create_tm":171},290147,"DIGITAL NOTES OF DATA VISUALIZATION TECHNIQUES - (R22A6705)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903720810/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=HAJKgnOXyP1kkfHxpjy%2FqahZEno%3D","digital-notes-of-data-visualization-techniques-r22a6705",14,1789640800,{"doc_id":173,"doc_title":174,"file_type":90,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":29,"create_tm":178},291107,"MSc Research Project - Configuration Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903077718/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=cq523wDjv3g41EiQmsqMK0%2FeqjE%3D","msc-research-project-configuration-manual",17,1789643472,{"doc_id":180,"doc_title":181,"file_type":90,"home_preview_img_url":182,"slug":183,"view_count":86,"category_name":29,"create_tm":184},501921,"Specialized Programme on Big data Analytics - 16 Weeks - OS basics and Linux - Linux Operations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931431425/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=EBJVcywkqHbVgeTiHSh5oQyl%2Fd8%3D","specialized-programme-on-big-data-analytics-16-weeks-os-basics-and-linux-linux-operations",1791026997,{"doc_id":186,"doc_title":187,"file_type":90,"home_preview_img_url":188,"slug":189,"view_count":170,"category_name":29,"create_tm":190},291105,"Network Intrusion Detection of Android Smartphones - Configuration Manual - Part 1 - Project Setup","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903754507/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=1899m%2B3xr7WLFM6fIhM27Z997vI%3D","network-intrusion-detection-of-android-smartphones-configuration-manual-part-1-project-setup",1789643465,{"doc_id":192,"doc_title":193,"file_type":90,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":29,"create_tm":197},290699,"Earthquake Magnitude Modelling using Machine Learning technology - Configuration Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903739569/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=S8HSSY37j%2BZtBk5ZK8Abcic8czw%3D","earthquake-magnitude-modelling-using-machine-learning-technology-configuration-manual",13,1789642386,{"doc_id":199,"doc_title":200,"file_type":90,"home_preview_img_url":201,"slug":202,"view_count":86,"category_name":29,"create_tm":203},468626,"Profiler: an open web platform for multi-omics analysis - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926524683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=BPikTi5hGX0ySL1gZjaZHgSo%2FR4%3D","profiler-an-open-web-platform-for-multi-omics-analysis-abstract",1790774465,{"doc_id":205,"doc_title":206,"file_type":90,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},121572,"VPI-MLogs - Web-based machine learning solution for petrophysics - summary and application overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835426494/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=1WHJbzp8e1ASkBbm2Kn4g65zxEM%3D","vpi-mlogs-web-based-machine-learning-solution-for-petrophysics-summary-and-application-overview",18,1785736301,{"doc_id":212,"doc_title":213,"file_type":90,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},85787,"AcadGIS: A Single-Import Python Package for Reproducible, Publication-Ready Academic Maps","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809485485/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=IjAPnrKeLpWYKfrBH2YLmN40TA8%3D","acadgis-a-single-import-python-package-for-reproducible-publication-ready-academic-maps",31,1784206282,{"doc_id":219,"doc_title":220,"file_type":90,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":29,"create_tm":224},290529,"Android Malware Detection using Machine Learning and Convolutional Neural Network - Configuration Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903733320/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=sYsNrFKrK5Ur2y5PLJpNtAGu2kQ%3D","android-malware-detection-using-machine-learning-and-convolutional-neural-network-configuration-manual",16,1789641946,{"doc_id":226,"doc_title":227,"file_type":90,"home_preview_img_url":228,"slug":229,"view_count":230,"category_name":29,"create_tm":231},122201,"iMESc - an interactive machine learning app for environmental sciences","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836675663/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=9B%2FcpP1epqK1lcwQpTIleYyQk6Q%3D","imesc-an-interactive-machine-learning-app-for-environmental-sciences",24,1785809314]