Software Application for Diffraction Patterns Visualization

Tech info | July 02, 2022

In the present work, we have considered the Diffractor application to obtain a two-dimensional picture of the energy distribution near the focus of an optical system in the presence of third-order aberrations. The software is developed based on our method for numerical integration of the diffraction integral by a series expansion.

What is diffraction?

Diffraction is a physical phenomenon consisting of the emergence of some geometric structures during the propagation of waves encountering obstacles in their path. A must condition for the appearance of diffraction is that the dimensions of the obstacle, whether it is a barrier or an aperture, should be comparable to the wavelength. This phenomenon is usually observable as a wave movement in the area of the so-called geometric shadow, where under other conditions, there would be no wave process.

Wave diffraction.
Diffraction of waves by an aperture.

This phenomenon has been known for centuries. It was first described in 1660 by the Italian Jesuit priest and physicist Francesco Grimaldi. In the light of classical physics, it is explained by the so-called Huygens-Fresnel principle, formulated in 1678 by the Dutch astronomer and mathematician Christiaan Huygens and quantitatively expanded by the French physicist Augustin-Jean Fresnel in 1818. To Fresnel's theoretical and experimental discoveries in the field of optics, we owe the triumph of the wave theory of light, which reached its peak in the second half of the 19th century.

The principle states that each point of the medium the wavefront has reached becomes a source of secondary spherical wavelets that interfere (interact) with each other. The envelope of their superposition (overlay) represents the new wavefront at the next moment in time.

The exact calculation of the diffraction patterns, proceeding from the principle itself, is a complex mathematical task. Therefore, an analytical solution has been obtained only in the cases of obstacles with simple geometry such as circular or rectangular apertures, rectilinear slits and edges, small spheres, etc.

The Diffractor application

In order to calculate diffraction patterns in an area near the focus of the optical system and their visualization, a GUI .NET application Diffractor is developed. The original version was written back in 2006 and later updated. The program calculates the diffraction of an optical system with a round entrance pupil without aberrations or with third-order monochromatic aberrations: spherical aberration, coma, astigmatism, field curvature and distortion. We decompose the aberration function as a sum of circular Zernike polynomials, orthonormal on a unit circle, to find a numerical solution of the diffraction integral as an infinite series of Bessel functions of the first kind [1]. The resulting two-dimensional map of the intensity distribution in the area around the focus is normalized to the maximum intensity in the geometric focus point in the case with no aberrations.

Application main screen
Diffractor software.

The program accepts the following input parameters:

The calculated intensity distribution is visualized on the screen and can be saved as a text file from the File → Save menu.

The following figures demonstrate two-dimensional diffraction patterns at various optical aberrations obtained with the Diffractor.

Two-dimensional diffraction pattern in the case of spherical aberration.
Spherical aberration.
Two-dimensional diffraction pattern in the case of coma.
Coma.
Two-dimensional diffraction pattern in the case of astigmatism.
Astigmatism.

System requirements

Requirements
Operating system Windows XP*, Vista, 7, 8, 8.1, 10; 32-bit / 64-bit
CPU 1 GHz or better; 32-bit / 64-bit
RAM 1 GB or more
Screen resolution 1024 x 768 or higher
Hard disk free space 50 MB or more

*Windows XP requires .NET Framework 2.0 or higher to be installed.

Installation

You can download Diffractor from here. Then, unpack the zip archive somewhere on your system, for example, in C:\Program Files\Diffractor and run the .exe file. Additionally, you can create a shortcut on your Desktop or Start menu.

NOTE: The archive contains an executable file. Some antivirus software may restrict it from the download. Please, check the settings of your antivirus program.

NOTE: Do not change the structure and content of the unpacked zip archive.

See our car oscilloscopes and geophysical vector magnetometers. On the library page you can read more about our scientific projects. If you have more questions, please, visit the contact page and call us.

Reference

  1. Born M., Wolf E. Principles of optics. Electromagnetic theory of propagation, interference and diffraction of light, Pergamon Press, 4th Edition, 1968.