Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

A robust algorithm for eye-diagram analysis



Jeffrey A. Jargon, Paul D. Hale, Chih-Ming Wang


We present a new method for analyzing eye diagrams that always provides a unique solution by making use of a robust, least-median-of-squares (LMS) location estimator. In contrast to commonly used histogram techniques, the LMS procedure is insensitive to outliers and data distributions. Our motivation for developing this algorithm is to create an independent, benchmark method that is both amenable to a thorough uncertainty analysis and can function as a comparison tool since no standardized industry algorithms currently exist. Utilizing this technique, we calculate the fundamental parameters of an eye diagram, namely the one and zero levels, and the time and amplitude crossings. With these parameters determined, we can derive various performance metrics, such as extinction ratio and root-mean-square jitter, and perform eye-mask alignment. In addition to describing our algorithm in detail, we compare results computed with this method to those of a commercial oscilloscope, and obtain excellent agreement. Finally, we suggest new definitions of eye height and eye width that are more robust than those that are commonly used.
Journal of Lightwave Technology


extinction ratio, eye diagram, least-median-of-squares location estimator, robust statistics


Jargon, J. , Hale, P. and Wang, C. (2008), A robust algorithm for eye-diagram analysis, Journal of Lightwave Technology, [online], (Accessed June 19, 2024)


If you have any questions about this publication or are having problems accessing it, please contact

Created November 1, 2008, Updated January 27, 2020