About
This ocular wavefront analyzer simulator was developed by Prof. Damien Gatinel to facilitate understanding and analysis of optical aberrations of the eye.
Zernike Coefficients
Coefficients are expressed in microns (µm) and represent the amplitude of each aberration mode:
n=0
: Piston (constant offset)
n=1
: Tilts
n=2
: Defocus and astigmatism
n≥3
: Higher-order aberrations
Optical Parameters
Pupil diameter: Directly influences the impact of aberrations. A larger pupil increases aberrations.
Focal length: 17 mm for standard human eye. Modify to simulate other optical systems (IOL, microscopes, telescopes).
Results Interpretation
- RMS: Root Mean Square, overall measure of aberrations
- Strehl: Optical quality ratio (1 = perfect)
- MTF: Ability to transmit contrast
- PSF: Light energy distribution
Model Limitations
- Incoherent only: Incoherent model (good for extended light like optotypes), but not for coherent sources.
- Monochromatic: Single λ (555 nm); in reality, the eye is polychromatic with chromatic aberrations.
- No Stiles-Crawford: No pupillary apodization (central cone sensitivity).
- Static: Does not model temporal fluctuations of aberrations.
Technical Notes
- Optical convention: The wavefront represents the EMERGENT phase error (exiting the eye). The pupil is viewed from the front from outside the eye, with positive x to the right and positive y upward.
- Sign convention: Positive Z(2,0) = myopia (convergent wavefront), negative Z(2,0) = hypermetropia (divergent wavefront).
- PSF orientation: The PSF is displayed as seen on the retina and used directly for convolution.
- Resolution: Convolution uses ~1 arcmin/pixel resolution for better accuracy.
Saving and Loading Configurations
Save: Exports all your current parameters (Zernike coefficients, pupil diameter, focal length) into a JSON file. Useful for:
- Archiving measurements from different patients
- Comparing examinations over time
- Sharing configurations with colleagues
- Creating a library of clinical cases
Load: Imports a previously saved JSON file and automatically restores all parameters. The simulator returns exactly to the state it was in when saved.
Data Export
Click the buttons to export graphs as images or data as CSV.
Keyboard Shortcuts
Ctrl+S
: Save configuration
Ctrl+O
: Load configuration
Ctrl+R
: Reset all coefficients
Ctrl+Enter
: Run analysis
Contact
For any comments, suggestions or questions about this simulator, you can contact Prof. Gatinel at: gatinel@gmail.com