What the lab shows
A telescope never turns a star into a point. Light that passes a round opening spreads into a small bright disc with faint rings around it, and every straight edge in the light path throws a spike across the image at right angles to that edge. How large the disc is, how much light goes into the rings and how many spikes appear depends on the shape of the opening and on the errors of the optics. The lab works this out for the aperture you choose, from a clear refractor to a camera iris or a shape you draw yourself, and asks one question: which part of the instrument makes which part of the star image?
Things to try
- Load “Newtonian 200 mm f/5, four vanes” and change the vanes from 4 to 3: four spikes become six, because no vane has a partner on the opposite side. Then pick Curved vanes and the spikes fade into a faint, even glow.
- Load “Camera lens 50 mm at f/8, seven blades” and count 14 rays. Set 8 blades and there are 8: opposite blades of an even iris are parallel and share their rays.
- Load the Bahtinov example and press [ eight times on the image, or drag Focus offset to 0: the middle spike moves sideways until it crosses the exact centre of the X.
- Load “Star test: under-corrected mirror”. Inside focus the disc has a bright outer ring; outside focus the edge is soft and the centre brighter. Set Spherical to +0.06 and the two sides swap.
- Load “Double star at the Rayleigh limit” and read the dip between the stars: 26.5%. Choose Reflector with a 33% obstruction and no vanes, and the dip deepens to 37.1%.
What to observe
Spikes
A straight edge sends light out perpendicular to itself, in both directions. Four vanes in a cross form two pairs of parallel edges, so their spikes overlap into four. Three vanes 120° apart give six, and one vane gives two. A camera iris works the same way: with an even number of straight blades, opposite blades are parallel and you see as many rays as blades; with an odd number every blade has its own pair of rays, so seven blades make fourteen. Curved vanes and rounded blades turn the edge through many directions, so the same light is spread around the star instead of piling up in a few spikes.
Central obstruction
A secondary mirror in the middle of the beam pushes light out of the central disc into the rings and makes the disc slightly smaller. For a clear aperture the first bright ring reaches 1.75% of the peak brightness and the central disc holds 83.8% of the light; with an obstruction of 30% of the diameter the ring rises to 4.75% and the disc falls to 68%. The readout under the image shows the first bright ring and the light inside the first dark ring for any aperture you set, rounded: 1.7% and 84% for the clear aperture, 4.7% and 68% for Reflector with a 30% obstruction and no vanes. The contrast chart shows the cost: less contrast for detail of middle size, slightly more near the finest detail the telescope can show.
Focusing masks
A Bahtinov mask has three gratings: one half of the aperture with slots in one direction and two quarters with slots turned by a small angle either way (20° unless you change it). Each grating makes its own spike, and because the half and the two quarters sit on opposite sides of the centre, defocus moves their spikes in opposite directions. In focus the middle spike runs exactly through the centre of the X; on one side of focus it sits left of the centre, on the other side right, and its distance from the centre grows in proportion to the focus error. The Tri-Bahtinov mask repeats this in three sectors, one for each third of the aperture, so its three middle spikes show whether every part of the optics focuses at the same place. A Hartmann mask has only holes: out of focus each hole makes its own spot, and the spots merge into one, crossed by interference fringes, as you reach focus.
The star test
Move the focus a little inside and outside and compare the two blurred discs. In a perfect telescope they look the same. Spherical aberration makes them different: under-correction gives a bright outer ring inside focus and a soft edge with a brighter centre outside focus, and over-correction swaps the two. Astigmatism makes both discs oval, turned 90° from each other. Pinched optics give a three-cornered pattern, a turned-down edge blurs the outer edge of the disc on one side of focus, and coma from poor collimation pushes the rings off centre. A secondary mirror leaves a dark centre in both discs, often with a small bright spot in its middle.
Double stars
Two stars that are too close merge into one blob. At the Rayleigh limit, 1.22 λ/D, the centre of one star lies on the first dark ring of the other and the brightness between them dips by about a quarter; for green light that is 138/D arcseconds with D in millimetres. The Dawes limit, 116/D, comes from what experienced observers could still split by eye with white stars, and there the dip has almost gone. A central obstruction makes the discs smaller, so it splits a pair at these limits a little better, even though it lowers contrast for larger detail.
How it works
The lab uses scalar Fraunhofer diffraction, the far-field model of Fourier optics. The aperture is a pupil function P(x, y): how much light passes at each point (1 where it is open, 0 where it is blocked, values in between under an apodizing screen) together with a wavefront error W(x, y) in waves. The image of a star at the angle θ is the squared size of the Fourier transform of that pupil:
For a clear round aperture this gives the Airy pattern with its first dark ring at 1.22 λ/D. The page samples the pupil on a grid of 96 to 512 points across the diameter, places it in an empty grid of 1024 × 1024 points (512 × 512 on a narrow screen) and computes the transform with its own fast Fourier transform, in short steps so the page keeps responding. A grid point cut by an edge passes the share of its area that is open, so vanes thinner than one point still block the right amount of light. The image is measured in units of λ/D: it changes shape only when the shape of the aperture changes, and the diameter sets the arcsecond scale (λ/D = 113.4/D arcseconds at 550 nm, D in millimetres).
The optical errors are Zernike polynomials normalised so that each slider value is the RMS error in waves at 550 nm: spherical aberration, coma, astigmatism and trefoil, the three-lobed error of a mirror pinched by its supports. The turned-down edge is a separate term that bends only the outer 20% of the radius. Focus is the term W020ρ²: moving the focuser by Δz adds W020 = Δz / (8N²λ) waves at the focal ratio N, so one wave of defocus at f/5 is 110 µm. The Strehl ratio is the peak brightness compared with a perfect aperture of the same shape; for small errors it is close to the extended Maréchal approximation exp(−(2πσ)²) for an RMS error σ in waves.
In white light the page repeats the calculation for nine wavelengths from 430 to 670 nm with equal power, turns them into colour with the CIE 1931 colour-matching functions and sRGB, and scales the wavefront error in waves by 550/λ. A double star is two images of the same pupil, tilted apart and added, the second one fainter by a factor of 10−0.4 Δm. The contrast chart is the modulation transfer function: the Fourier transform of the star image, averaged over all directions, next to the curve of a clear round aperture, (2/π)(arccos ν − ν√(1 − ν²)) for the frequency ν as a share of the cut-off D/λ.
Limits
- No atmosphere: real stars shimmer and swell in turbulent air (seeing), which often matters more than anything on this page.
- Only the far field near the axis: no aberrations of stars away from the centre of the field, no curved image plane and none of the effects of being very far from focus. Defocus is the quadratic term only, which is accurate for the small focus errors of a star test.
- No camera: no pixels, noise, sky glow or blooming. Linear brightness with a high exposure imitates an overexposed photo.
- The grid limits the detail: the field of view equals the number of grid points across the pupil times λ/D, and features much thinner than one grid point become a weak, even dimming. The line under the image gives the grid of the last calculation.
- Masks are ideal (perfect slots and holes with no thickness), and white light has a flat spectrum, not the spectrum of a real star.
Controls
- Buttons: Star, Star test and Double star choose what the image shows; Save image saves it as a PNG file; Copy link copies a link with all settings and your drawing; Reset all returns to the start. In the Focus and optical errors panel, Perfect optics sets focus and all errors to zero; in the Double star panel, Rayleigh, Dawes and Sparrow limit set the separation. Each row of buttons in the panels (light, vanes, vane shape, rings, holes, brightness scale, colours) picks one option.
- Menus: Load an example, the aperture Type, the Mask over the aperture and Detail (512 or 1024 points).
- Sliders: every number in the panels. The arrow keys move a focused slider, Page Up and Page Down in bigger steps.
- Check boxes: Centre segment in place puts a segment in the middle of a segmented mirror (without it the middle lets no light through); Mark the first dark ring draws a dashed circle on the star image at the first dark ring, in the Star view.
- Mouse and touch: with Your own drawing, paint on the aperture view; Paint open or Paint blocked chooses what the brush does. A mask from the Mask menu and the apodizing screen cover the drawing, in the view and in the star, without changing it.
- Drawing buttons (with Your own drawing): Undo takes back the last change; Open circle starts again from a clear round opening; From the last aperture copies the shape of the last type you chose in the Type menu, with its settings; Invert swaps open and blocked; Block all closes everything so you can paint the openings; Load a picture turns a black and white image into an aperture.
- Keyboard: on the star image, + and − zoom (in the star test they change the defocus), [ and ] move the focus (Shift for bigger steps) and L switches between log and linear brightness. On the aperture view with Your own drawing, the arrow keys move the brush (Shift for bigger steps), Space starts or stops painting and Esc stops.
Sources
- Telescope Optics (telescope-optics.net). Effects of the telescope central obstruction, section 7. Table 10, after V. N. Mahajan, Aberration Theory Made Simple: the brightness of the first bright ring and the energy in the central disc for obstructions from 0 to 0.5.
- Telescope Optics (telescope-optics.net). Telescope resolution, section 2.2. The Rayleigh limit 138/D, the Dawes limit 116/D and the Sparrow limit 107/D arcseconds, and the brightness between two stars.
- Telescope Optics (telescope-optics.net). Strehl ratio, section 6.5. Mahajan’s approximation of the Strehl ratio from the RMS wavefront error, also called the extended Maréchal approximation.