Generator

Single-slit diffraction at three slit widths

One function in the optics library, called 38 times across 7 essays. Below: what it draws at its defaults, what it draws at every branch an essay asks for, whether the site's own gate puts a claim to it, and everywhere it is called.

At its defaults it draws single-slit diffraction at three slit widths. Intensity against angle behind a single slit, evaluated from the integral across the aperture, for slits two, six and twenty wavelengths wide. A wide slit throws a nearly sharp shadow; a narrow one spreads light through a wide angle.

single-slit is one function in lib/figures/optics.js — rays, lenses, mirrors and what light does to a surface. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page. A figure here is the figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

Drawn even though every essay passes options, because a default nothing exercises is a trap for the next essay to call this with none — which has happened here twice.

Single-slit diffraction at three slit widths. Intensity against angle behind a single slit, evaluated from the integral across the aperture, for slits two, six and twenty wavelengths wide. A wide slit throws a nearly sharp shadow; a narrow one spreads light through a wide angle.

Intensity against angle behind a single slit, evaluated from the integral across the aperture, for slits two, six and twenty wavelengths wide. A wide slit throws a nearly sharp shadow; a narrow one spreads light through a wide angle.

Single-slit diffraction at three slit widths

The options are the ones Everything has a wavelength, and almost nothing shows it passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Single-slit diffraction at three slit widths. Intensity against angle behind a single slit, evaluated from the integral across the aperture, for slits two, six and twenty wavelengths wide. A wide slit throws a nearly sharp shadow; a narrow one spreads light through a wide angle.

Intensity against angle behind a single slit, evaluated from the integral across the aperture, for slits two, six and twenty wavelengths wide. A wide slit throws a nearly sharp shadow; a narrow one spreads light through a wide angle.

The peak that is lost to a fraction of a wave

The options are the ones How accurate a mirror has to be passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

The peak that is lost to a fraction of a wave. The height of the central peak, relative to a perfect pupil of the same size, against the root-mean-square error of the wavefront in waves, for four kinds of error — each computed from the transform and each normalised to the same rms. The dashed curve is the usual approximation, the exponential of minus the square of two pi times the error. What the figure shows is that to a good approximation it does not matter WHAT the error is, only how large it is in the mean square: four quite different shapes of wavefront give nearly the same peak. A fourteenth of a wave leaves 80 per cent of the peak, which is the conventional definition of diffraction-limited, and it corresponds to a quarter of a wave peak-to-valley for a simple defocus — which is where Rayleigh's quarter-wave rule comes from and why it is a convention laid over a computed number rather than a threshold in the physics.

The height of the central peak, relative to a perfect pupil of the same size, against the root-mean-square error of the wavefront in waves, for four kinds of error — each computed from the transform and each normalised to the same rms. The dashed curve is the usual approximation, the exponential of minus the square of two pi times the error. What the figure shows is that to a good approximation it does not matter WHAT the error is, only how large it is in the mean square: four quite different shapes of wavefront give nearly the same peak. A fourteenth of a wave leaves 80 per cent of the peak, which is the conventional definition of diffraction-limited, and it corresponds to a quarter of a wave peak-to-valley for a simple defocus — which is where Rayleigh's quarter-wave rule comes from and why it is a convention laid over a computed number rather than a threshold in the physics.

The light leaves the core and does not leave the image

The options are the ones How accurate a mirror has to be passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

The light leaves the core and does not leave the image. The point-spread function of the same aperture with increasing spherical aberration, on a logarithmic intensity axis. The core keeps very nearly its width and loses its height, and everything lost from it appears in the wings — at a fifth of a wave of error the peak is down by a factor of 6.8 and the light outside the core is up by 8. That is the difference between an aberration and a stop: stopping an aperture down makes the core wider and the total the same, and aberrating it leaves the core where it was and scatters the light into a halo. Which matters more depends entirely on the measurement — a halo is fatal for seeing something faint next to something bright and nearly harmless for measuring the position of an isolated point.

The point-spread function of the same aperture with increasing spherical aberration, on a logarithmic intensity axis. The core keeps very nearly its width and loses its height, and everything lost from it appears in the wings — at a fifth of a wave of error the peak is down by a factor of 6.8 and the light outside the core is up by 8. That is the difference between an aberration and a stop: stopping an aperture down makes the core wider and the total the same, and aberrating it leaves the core where it was and scatters the light into a halo. Which matters more depends entirely on the measurement — a halo is fatal for seeing something faint next to something bright and nearly harmless for measuring the position of an isolated point.

The light leaves the core and does not leave the image

The options are the ones How accurate a mirror has to be passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

The light leaves the core and does not leave the image. The point-spread function of the same aperture with increasing a polishing ripple, on a logarithmic intensity axis. The core keeps very nearly its width and loses its height, and everything lost from it appears in the wings — at a fifth of a wave of error the peak is down by a factor of 8.0 and the light outside the core is up by 16. That is the difference between an aberration and a stop: stopping an aperture down makes the core wider and the total the same, and aberrating it leaves the core where it was and scatters the light into a halo. Which matters more depends entirely on the measurement — a halo is fatal for seeing something faint next to something bright and nearly harmless for measuring the position of an isolated point.

The point-spread function of the same aperture with increasing a polishing ripple, on a logarithmic intensity axis. The core keeps very nearly its width and loses its height, and everything lost from it appears in the wings — at a fifth of a wave of error the peak is down by a factor of 8.0 and the light outside the core is up by 16. That is the difference between an aberration and a stop: stopping an aperture down makes the core wider and the total the same, and aberrating it leaves the core where it was and scatters the light into a halo. Which matters more depends entirely on the measurement — a halo is fatal for seeing something faint next to something bright and nearly harmless for measuring the position of an isolated point.

The same mirror, diffraction-limited or not according to colour

The options are the ones How accurate a mirror has to be passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

The same mirror, diffraction-limited or not according to colour. The Strehl ratio of a mirror with a fixed surface roughness, against the wavelength it is used at, for three roughnesses. Nothing about the mirror changes along any curve; what changes is what a nanometre is worth. A surface bump of a given height costs twice that in wavefront, because the light crosses it and comes back, and the cost in waves is that divided by the wavelength. So a mirror ground to 25 nanometres is far from diffraction-limited in the blue, at a Strehl of 0.54, and is essentially perfect at five micrometres, at 0.996. That is why an infrared telescope can be built to a tolerance a visible one could not use, why the same optic is specified differently for different instruments behind it, and why a surface specification quoted without a wavelength says nothing at all.

The Strehl ratio of a mirror with a fixed surface roughness, against the wavelength it is used at, for three roughnesses. Nothing about the mirror changes along any curve; what changes is what a nanometre is worth. A surface bump of a given height costs twice that in wavefront, because the light crosses it and comes back, and the cost in waves is that divided by the wavelength. So a mirror ground to 25 nanometres is far from diffraction-limited in the blue, at a Strehl of 0.54, and is essentially perfect at five micrometres, at 0.996. That is why an infrared telescope can be built to a tolerance a visible one could not use, why the same optic is specified differently for different instruments behind it, and why a surface specification quoted without a wavelength says nothing at all.

What checks it

physicscheck asserts something about single-slit that could fail — it draws it and measures the result against a value reached some other way.

Across the library: 100 interrogated, 2 exercised only, 1 untouched, of 103. Read out of the gate's source by the gate's own two patterns — and the gate's last claim fails the build if that read disagrees with what it was handed while running.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

Quantum

Everything has a wavelength, and almost nothing shows it

If light with a momentum can behave like a particle, a particle with a momentum can behave like a wave. The wavelength is Planck's constant over the momentum, which for anything larger than a molecule is a number too small to have consequences.

Optics

How accurate a mirror has to be

The pupil's amplitude decides the rings; its phase decides the peak. A wavefront error of a fourteenth of a wave root-mean-square leaves eighty per cent of the peak intensity, which is the whole of what 'diffraction-limited' means — a convention laid over a computed number. And the number barely depends on what the error is, only on how large: four quite different aberrations of the same magnitude give nearly the same answer.

Optics

How far apart two things have to be

An instrument's ability to tell two things apart is not set by the quality of its glass. It is set by the width of the hole light comes through, by a factor that is the first zero of a Bessel function — and the threshold everyone quotes is a convention laid over a computed dip of 26.5 per cent.

Optics

The image that is a diffraction pattern twice

A lens does not project an object onto a screen. It takes the object's spatial frequencies apart, spreading them across its own back focal plane at an angle each, and then puts them back together — so an image is the object's spectrum, filtered by whatever the aperture admits, transformed back. With only the zeroth order through, the image is a uniform grey with no information in it at all.

Optics

The rings that belong to the edge

Every account of diffraction so far asks what the size of an aperture does. The rings around a star are not about its size: they are the transform of a discontinuity, they do not shrink relative to the core when the telescope grows, and the only way to remove them is to stop the transmission falling to zero abruptly. Softening the edge buys forty-five decibels of contrast and costs eighty per cent of the resolution.

Optics

What a thousand slits buy that two cannot

The bright directions behind a grating are fixed by its ruling pitch and the wavelength alone, and no count of lines appears in them. What the count changes is the width of each maximum, which falls as 1/N — so resolving power is mN, and 1,200 illuminated lines separate the sodium D lines with a dip of 53.4 per cent where 300 show one line and no dip at all.

Optics

Where rays stop being enough, and a shadow acquires a bright centre

Light going through a narrow gap spreads. No amount of ray tracing predicts it, the size of the spreading is set by one ratio, and taking that ratio to zero is exactly what the ray model is.

The whole library · All essays