Автора пока нетВзять себе
- Языки
- English
- Темы
- ОбразованиеНаука
Young TIM, a free wave-optics simulator described in a paper by Sean Leavey and Johannes Courtial, can show what a laser beam looks like to a (probably misguided) observer staring into it: it draws the beam as a red/blue anaglyph, the 3D view a pair of eyes would get. That is one of the program's "special powers". The name reflects that it is a wave-optics analogue of the authors' earlier ray-tracing program TIM, developed later, and that wave optics is perhaps best illustrated by Thomas Young's double-slit experiment.
What it is for
The authors teach wave optics in a third-year undergraduate physics lab and run simulations alongside the experiments. When pandemic restrictions kept students out of the lab, the simulations largely replaced them. A simulation shows things that are hard to measure: a beam's phase cross-section across the beam, which would need interferometry; its cross-section along its length, which would need scanning at many planes; and a beam settling into the lowest-loss mode of a laser cavity over round trips, which takes heroic effort even in a research lab. It also keeps team members busy while others run the apparatus.
Young TIM was built first as a research tool and then found to work for teaching. Unlike other free teaching simulators, such as PhET, it is less a demonstration of one aspect of wave optics and more a well-equipped virtual laboratory, a free alternative to commercial software such as Comsol.
How it works
- The beam. It stores the light field in one transverse plane as a grid of complex numbers, where each number's size is the amplitude and its angle is the phase. It handles scalar waves only, so polarization is ignored.
- The parts. Components include thin lenses, beam splitters, aperture stops and thin holograms, plus the specialized beams and parts the authors use in research, such as Laguerre-Gaussian beams, Dove prisms and lenslet arrays.
- Propagation. Travel between components uses a non-paraxial version of a well-known Fourier algorithm.
- Versions. It is written in Java, open source, and can be compiled as a command-line version, a slightly interactive version with a few controls, or the fully interactive one the paper describes.
On startup it shows Young's double-slit experiment: a laser beam, a double slit, a lens, and a plane at the lens's focal plane labeled "Far field". Pressing "Go!" runs the simulation, and clicking any element opens its parameters or, for a plane, the beam there.

Young TIM's default startup system, set up for double-slit diffraction (Leavey and Courtial).
Systems that are not a straight line are built as a tree of components and then connected by pairs of special parts, a plane and an "image of plane". The paper's example is a Mach-Zehnder interferometer with a Dove prism in each arm. Fed a Laguerre-Gaussian beam, it sends the beam to one output when the beam's index l is even and to the other when l is odd.

The interferometer, drawn as an optical setup and as Young TIM components (Leavey and Courtial).
Three experiments for students
- Diffraction. Change the slits to a single slit or a grating, or insert a plane right behind the aperture to see near-field (Fresnel) diffraction. A larger aperture makes the far-field (Fraunhofer) pattern smaller, and a single slit of the same width gives the envelope of the multi-slit pattern.
- Laser modes. Students set up a cavity and watch the lowest-loss mode form over successive round trips (the Fox-Li method). One example forms a fractal mode in an unstable resonator with a hexagonal aperture and a magnification of 3 per round trip.
- Holography. Two plane waves of equal amplitude and wavelength interfere on a film, and a hologram with that pattern, lit by the reference wave, produces a reduced reference wave, a reduced copy of the object wave and a reduced mirror-image copy of it. For a general scene each small patch behaves like this, and the mirror image makes a pseudoscopic image, which off-axis holography removes by putting the object to one side. The paper simulates it with a grayscale head image 30 cm in front of the hologram, 0.5 degrees off the optical axis, a 2 mm Gaussian reference beam, a wavelength of 632.8 nm and a 512 by 512 grid covering 1 cm by 1 cm.

Holography with Young TIM: object, hologram, and reconstruction behind the hologram plane (Leavey and Courtial).
The anaglyph power
Each eye catches a different part of the beam, the part that passes its pupil, and that part then goes through the eye's lens to the retina. Young TIM shows the intensity on the left retina in red and the right in blue, and the result works with standard red/blue glasses. With standard settings (a pupil radius of 2 mm, a 63 mm gap between pupils, a focus distance of 1 km) a superposition of two spherical waves gives two sharp spots, one behind the paper plane and one in front, but the picture is ambiguous. Moving the pupils sideways or changing the viewing distance interactively gives parallax and settles which spot is which.

Anaglyphs of two superposed spherical waves under different viewing positions (Leavey and Courtial).
A Laguerre-Gaussian beam with a high-order optical vortex looks stranger still. Each eye sees one spot, but the spots are displaced vertically rather than horizontally, which no real object would do. Such beams can be described as coming from a point source at a complex distance.
Spotting simulation artifacts
The paper also shows students that simulations mislead. Young TIM propagates with a discrete Fourier transform, which implicitly assumes the grid repeats forever in space and in momentum space. A tilted beam that leaves one side of the grid reappears on the opposite side. At a tilt of about 0.23 degrees in the paper's example, the beam's momentum reaches the Nyquist limit, a phase difference of pi between neighbouring grid points: the beam splits in two, and then only the wrongly inclined beam remains. A simple test is to repeat the run with a larger area or a bigger grid, and any change in the result signals a problem.

Position and momentum-space periodicity for beams tilted at different angles (Leavey and Courtial).
Sources
- Sean Leavey and Johannes Courtial, Young TIM: A wave-optics simulator with slightly special powers, arXiv:2506.15359 (2025), licensed CC BY 4.0. Changed here: condensed and reworded, with a selection of the paper's figures; the equations, appendices and a Wikipedia photograph of a hologram are left out. Rewritten in hubnx's own words.
Комментарии




