The observed sky

The atmosphere is a prism as well as a lens

Refraction lifts a star towards the zenith, and everybody corrects for that. It lifts blue light further than red, and the difference is a short vertical spectrum a few arcseconds long — larger than the image, larger than a spectrograph's slit, and quietly present in every ground-based measurement not taken straight overhead.

Assumes Refraction and Seeing.

Every observer knows that the atmosphere lifts a star: the light is bent as it enters denser air, so the object is seen higher than it is. At forty-five degrees from the zenith the lift is about a minute of arc, and it is corrected for in every astrometric reduction ever performed.

What is less often corrected is that the lift is not the same for every colour. The refractive index of air rises towards the blue, so the blue image sits above the red one, and at moderate airmass the separation is a few arcseconds. That is not a small quantity by the standards of a ground-based telescope: it is several times the size of the image and comparable to the width of a spectrograph slit.

A star drawn out into 3.0 arcseconds of spectrum. Atmospheric refraction relative to its value at 550 nanometres, against wavelength, at four zenith angles. The air's refractive index rises towards the blue, so the blue image of a star sits above the red one and the object is smeared into a short vertical spectrum. At 60 degrees from the zenith the separation across an optical band is 2.96 arcseconds — several times the size of the image at a good site, and comparable to the width of a spectrograph slit. Every curve here is the same curve multiplied by the tangent of the zenith angle, which is why one corrector with an adjustable strength works at every airmass. The practical consequences are three: a slit aligned other than vertically loses blue light or red light depending on where it was centred, a photometric aperture contains a different fraction of the light in each band, and an astrometric position depends on the colour of the star it is measured from.
Fig. 1 The displacement relative to its value at 550 nanometres, against wavelength, at four zenith angles. A star is not moved by the atmosphere so much as drawn out into a short vertical spectrum, blue end up. Every curve here is the same curve multiplied by the tangent of the zenith angle, which is why one corrector with an adjustable strength works at every airmass.

The effect has a name — atmospheric dispersion, or differential refraction — and a reputation for being a nuisance handled by a piece of hardware. It is worth more attention than that, because it is one of the few systematics in ground-based astronomy that is exactly calculable, exactly correctable, and nevertheless present in a great deal of published data.

Where the wavelength dependence comes from

Air is dispersive for the same reason glass is: its molecules have resonances in the ultraviolet, and the refractive index of a medium rises as the frequency approaches a resonance from below. The standard expression for dry air puts n1n - 1 at about 2.78×1042.78\times10^{-4} at 550 nanometres, rising to 2.86×1042.86\times10^{-4} at 350 and falling to 2.74×1042.74\times10^{-4} at 950.

Those are differences in the fifth decimal place of a quantity that is itself a small departure from one, and they would be of no consequence except that the refraction angle multiplies them by the tangent of the zenith angle and by 206,265 arcseconds per radian. A fractional difference of four per cent in n1n-1 becomes four per cent of a refraction that is already a minute of arc.

The refraction itself, to sufficient accuracy away from the horizon, is

R(n1)tanz,R \approx (n-1)\tan z,

so the whole wavelength dependence is carried by n1n - 1 and the whole geometry by tanz\tan z. That factorisation is the reason the family of curves in the figure is one curve: the shape of the dispersion against wavelength is fixed by the air, and only its amplitude depends on where the telescope is pointing.

Airmass against zenith angle. The length of the line of sight through the atmosphere, in units of the vertical path, against the angle from the zenith. The dashed curve is the flat-Earth secant, which diverges at the horizon; the solid curve is the standard fit to a real spherical atmosphere, which reaches about 38. Every magnitude measured at low altitude is corrected through one of these.
Fig. 2 The other factor, on its own. Airmass is the path length through the atmosphere relative to the vertical, and to a good approximation it is the secant of the zenith angle — which means it, and the refraction with it, rise slowly to about 60 degrees and then steeply. An observation at 60 degrees has twice the atmosphere of one overhead and about 1.7 times the refraction; one at 75 degrees has nearly four times.

The pressure and temperature enter too, and they enter as a simple scaling: n1n-1 is proportional to density. A telescope at four kilometres’ altitude sees about six tenths of the sea-level refraction and six tenths of the dispersion, which is a real advantage of a high site and is not usually the reason such sites are chosen.

One more property of the factorisation deserves attention, because it decides what a correction has to know. The direction of the dispersion is always along the vertical on the sky — towards the zenith — and the vertical on the sky is not a fixed direction in the instrument. It rotates through the night as the object rises and sets, at a rate that is fastest near the meridian for an object passing close to the zenith. That angle is the parallactic angle, and it is a purely geometric quantity computable from the pointing. A corrector therefore needs two numbers: how much dispersion to apply, from the zenith angle, and in which direction, from the parallactic angle. Both are known exactly and neither is measured.

What it does to a spectrum

The instrument that suffers most is a slit spectrograph, and the way it suffers is worth following carefully because the damage does not look like what it is.

A slit is a rectangle a fraction of an arcsecond wide. The observer centres the star on it — at some wavelength, usually the one the guider works at — and the rest of the star’s light is displaced along the direction of the dispersion. If that direction is not along the slit, light at other wavelengths falls partly outside it.

A spectrum whose blue end is 72 per cent fainter than it should be. The fraction of a star's light that passes through a 1-arcsecond slit, against wavelength, for an image 0.8 arcseconds across at 40 degrees from the zenith. The slit is centred on the star at 550 nanometres and the atmosphere moves the other wavelengths off it, so the transmitted fraction falls away on both sides — by a factor of 3.61 across the band here. That is not a loss of signal-to-noise so much as a loss of calibration: the recorded spectrum is the star's spectrum multiplied by this curve, and the curve depends on the airmass, on the slit's orientation and on where the observer chose to centre the star. A flux-calibrated spectrum taken without correcting for it is wrong in a way that looks exactly like a reddening.
Fig. 3 The fraction of the light reaching the detector, against wavelength, for a one-arcsecond slit and an image eight tenths of an arcsecond across at forty degrees from the zenith. The slit was centred at 550 nanometres and the throughput falls away on both sides, by a factor of three and a half across the band. That is not primarily a loss of signal. It is a multiplicative curve applied to the spectrum, and the curve depends on the airmass, on the slit’s orientation and on where the observer chose to centre the star.

The recorded spectrum is therefore the star’s spectrum multiplied by a throughput curve that nobody chose and nobody recorded. It rises to a maximum at the guiding wavelength and falls away on both sides — which is to say it looks like a broad absorption feature, or like a reddening, or like a bluing, depending on where the maximum sat.

Flux calibration is supposed to remove such things by dividing by the spectrum of a standard star. It does, exactly, provided the standard was observed at the same airmass, with the same slit orientation, and centred at the same wavelength. In practice one of those three is usually different, and the residual is a smooth multiplicative error of a few tens of per cent across the band.

A spectrum whose blue end is 99 per cent fainter than it should be. The fraction of a star's light that passes through a 0.7-arcsecond slit, against wavelength, for an image 0.8 arcseconds across at 55 degrees from the zenith. The slit is centred on the star at 550 nanometres and the atmosphere moves the other wavelengths off it, so the transmitted fraction falls away on both sides — by a factor of 193.10 across the band here. That is not a loss of signal-to-noise so much as a loss of calibration: the recorded spectrum is the star's spectrum multiplied by this curve, and the curve depends on the airmass, on the slit's orientation and on where the observer chose to centre the star. A flux-calibrated spectrum taken without correcting for it is wrong in a way that looks exactly like a reddening.
Fig. 4 The same instrument used harder: a narrower slit at a larger zenith angle, which is the configuration a high-resolution observation of a faint object actually uses. The throughput at the blue end has collapsed. There is a rule of thumb hiding in the comparison — the loss becomes serious when the dispersion across the band approaches the slit width — and it says that the problem is worst exactly where the observation is most ambitious.

There is a second, subtler damage that the throughput curve conceals. Because the loss depends on wavelength, the effective wavelength of a broad-band measurement shifts — the recorded light is weighted towards the guiding wavelength — and an effective wavelength that moves with airmass is a colour term that moves with airmass. In photometry that is exactly the shape of an extinction coefficient, so a magnitude extrapolated to zero airmass absorbs part of it and the rest survives into the published number. The two effects have different colour dependences and can in principle be separated; in practice they are usually not, and the residual sits in the photometric zero point.

It is worth knowing which observations are safe. An imaging observation through a narrow filter is unaffected, because the dispersion within the filter is small. An observation at the zenith is unaffected, because the tangent is zero. An observation in the near infrared is much less affected, because the air’s dispersion falls steeply towards longer wavelengths — between one and two and a half microns it is about a fifth of what it is across the optical band. And an observation whose only product is a position measured relative to nearby stars of similar colour is nearly unaffected, because the displacement is common to all of them. Everything else carries the term, and the observations that carry it worst are broad-band spectroscopy of faint objects at high airmass, which is a large fraction of what large telescopes are used for.

The fix, which is another prism

The correction is mechanical and old. Two counter-rotating prism pairs are placed in the converging beam, each pair made of two glasses with different dispersions cemented so that the deviation at a reference wavelength is zero and the dispersion is not. Rotating one pair relative to the other varies the net dispersion continuously from zero to maximum, and rotating both together sets its direction.

An atmospheric dispersion corrector is therefore a prism whose job is to cancel a prism, and it is set from the zenith angle and the parallactic angle, both of which are known exactly from the pointing.

The same slit, with the atmosphere's prism cancelled. The fraction of a star's light that passes through a 1-arcsecond slit, against wavelength, for an image 0.8 arcseconds across at 40 degrees from the zenith, with an atmospheric dispersion corrector in the beam. The slit is centred on the star at 550 nanometres and the atmosphere moves the other wavelengths off it, so the transmitted fraction falls away on both sides — by a factor of 1.00 across the band here. That is not a loss of signal-to-noise so much as a loss of calibration: the recorded spectrum is the star's spectrum multiplied by this curve, and the curve depends on the airmass, on the slit's orientation and on where the observer chose to centre the star. A flux-calibrated spectrum taken without correcting for it is wrong in a way that looks exactly like a reddening.
Fig. 5 The same observation with the corrector in the beam. The residual curvature is a few per cent, and it comes from the corrector’s glasses not matching the air’s dispersion exactly rather than from any error in setting it. The gain is not in throughput so much as in calibration: the curve is flat, and a flat curve does not have to be measured.

There is an alternative that costs nothing and is available whenever the instrument permits: align the slit along the direction of the dispersion. That direction is the vertical on the sky, called the parallactic angle, and a slit set to it loses no light at all — the spectrum is smeared along the slit rather than out of it. The cost is that the slit is then not aligned with anything else, which matters when there are two objects to observe at once or when the seeing is elongated.

The choice between the two is not always free. Multi-object spectrographs place many slits across a field at fixed orientations, so aligning every one with the parallactic angle is impossible and a corrector is the only option. Integral-field units have no slit at all and so lose no light, but they still smear each wavelength to a different position in the field, which has to be undone in the reconstruction. The problem does not disappear with the slit; it moves.

What was actually measured

The effect is not inferred; it is measured routinely, in three different ways.

Direct imaging of a star through filters. Photographing the same field in blue and red at high airmass and measuring the offset between the two positions gives the dispersion directly. The measurements agree with the standard air-refractivity formulae to a few per cent, and the residual is attributable to the water vapour content, which the dry-air formula does not include and which varies.

The throughput curve of a spectrograph. Observing a standard star at a sequence of airmasses and dividing each spectrum by the one taken overhead gives the loss curve empirically. It has the predicted shape, it scales with the tangent of the zenith angle, and it disappears when the corrector is deployed.

Astrometry. A catalogue position depends on the colour of the star it was measured from, because a bluer star is refracted more. Ground-based astrometric catalogues carried colour-dependent systematics of tens of milliarcseconds for exactly this reason, and correcting for them requires knowing each star’s colour — which was not always available and had to be estimated from the star’s own image.

The Sun's disc at the horizon, before and after the air. The Sun as geometry places it, left, and as it is seen, right, at the instant the lower limb appears to touch the horizon. Refraction lifts the lower limb by 34.5 arcminutes and the upper limb by 29.3, so the disc is squashed vertically to 26.8′ — 84 per cent of its true height — while its width is untouched. Both limbs of the true disc are below the true horizon at this moment: the Sun has already set, and is still being watched.
Fig. 6 The extreme case, where the same effect is visible without instruments: the Sun at the horizon. Refraction is 34 arcminutes there and changes rapidly with altitude, so the lower limb is lifted more than the upper and the disc is flattened by about a sixth. The dispersion is present too, and it is what produces the green flash — the last sliver of the setting disc is the top of the image, which is the blue end of the spectrum, with the blue itself scattered away by the same long path.

Radial velocities. The effect reaches even measurements that are not about position or flux at all. A spectrograph fed by a fibre samples a different part of the stellar image at each wavelength when the dispersion is uncorrected, and because a star’s surface is not uniform in velocity — convective motions blueshift the centre of the disc relative to the limb — the measured velocity acquires a term that depends on airmass. For the metre-per-second work that finds planets, this is a real error source and is one of the reasons those instruments insist on a corrector and on a scrambler between the telescope and the fibre.

Three apertures, one image. Long-exposure image profiles for 0.1 m, 1 m, 10 m apertures at 500 nm through an atmosphere of r₀ = 10 cm, each normalised to its own peak. Solid: through air. Dashed: what the same aperture would deliver in vacuum. The vacuum widths differ by a factor of 100 — 1.062″, 0.106″, 0.011″ — and the through-air widths differ by a factor of 1.451: 1.466″, 1.016″, 1.011″. The three solid curves are, for practical purposes, one curve. Each profile is drawn as a Gaussian of the correct full width at half maximum, which is an approximation to a real long-exposure profile — the wings of the true one are heavier — and the width, which is what the figure is about, is exact. What this picture cannot show is the exposure. In a millisecond the image is not this at all: it is 10,000 separate diffraction-limited speckles for the largest aperture here, each one as narrow as the dashed curve, scattered across the width of the solid one. Averaging them for a second is what produces the blur, and every technique that beats it works by not averaging.
Fig. 7 The quantity the dispersion has to be compared against, which is what decides whether it matters: the image the atmosphere delivers. At a good site the profile is six tenths of an arcsecond wide, and the dispersion across an optical band at moderate airmass is several times that — so the smearing is not a perturbation on the image, it is larger than the image. In the infrared the comparison reverses, because the dispersion falls towards the red while the seeing improves only slowly, which is one of several reasons infrared instruments were built without correctors for years and optical ones were not.

Where the picture stops

There are three, and the second is the one that decides whether the effect can be ignored.

The simple formula fails near the horizon. R=(n1)tanzR = (n-1)\tan z diverges at z=90°z = 90° and the true refraction does not; below about ten degrees of altitude the calculation requires an actual atmospheric profile, and the answer becomes sensitive to the temperature gradient in the lowest hundred metres. That is why the horizon refraction of 34 arcminutes is a convention rather than a measurement, and why the timing of sunrise is uncertain by tens of seconds.

Water vapour is not in the standard formula. Its refractivity differs from dry air’s and its dispersion differs more, particularly in the infrared where it has strong bands. For most optical work the correction is small; for precise infrared astrometry it is not, and it varies on the timescale of an hour.

And the correction is only as good as the pointing model. A corrector set from a zenith angle that is wrong by a degree leaves a residual dispersion of tens of milliarcseconds. That is negligible for spectroscopy and is not negligible for the adaptive-optics systems that are trying to deliver diffraction-limited images, where an uncorrected dispersion elongates the core of the point spread function and destroys the very thing the correction bought.

And there is a fourth limit worth stating because it is the one that will matter most in the coming decade. Everything above is first order in the flattening of the atmosphere and treats the air as a stack of plane-parallel layers with a single temperature and pressure. For the thirty-metre-class telescopes now being built, whose diffraction limit at two microns is about fifteen milliarcseconds, the residual dispersion after an ideal corrector — set by the mismatch between the glasses available and the air’s actual dispersion curve — is itself comparable to the diffraction limit at the blue end of the range. The correction is becoming a design constraint on the glass rather than a mechanism to be bolted on, which is a familiar trajectory: a term that begins as a nuisance ends as a specification.

Why it belongs with refraction rather than with instruments

It is tempting to file all of this under instrumental effects, and the filing would obscure the point. The dispersion is not an instrumental effect. It is the same physics as the Sun setting before it sets, differentiated with respect to wavelength, and it is present in the light before it reaches any instrument.

What is instrumental is the consequence, and the consequences are different for different instruments in a way that makes the effect easy to overlook. An imager with a broad filter sees a slightly elongated image and loses nothing. A photometric aperture contains a different fraction of the light in each band, so a colour index measured at high airmass is wrong in a way that mimics a colour term. A slit spectrograph loses light selectively. An interferometer sees a wavelength-dependent path difference. Four instruments, one cause, four apparently unrelated symptoms — and in each case the natural diagnosis is something about the instrument.

That is the signature of an effect worth understanding at the level of the physics rather than at the level of the symptom. The same star measured through two telescopes will disagree in a way that depends on how each was pointed, and no amount of cross-calibration between the two will find the cause, because the cause is in neither of them. The disagreement will also correlate with the stars’ colours, which is what makes it look like a bandpass mismatch — and a colour that is being used as a thermometer inherits the error directly.

End on the size of the thing, because the numbers are easy to lose. The total refraction at sixty degrees from the zenith, at a good high site, is about a minute of arc. The dispersion across the optical band at the same place is about three arcseconds — one part in twenty of the total. The seeing at that site is perhaps six tenths of an arcsecond, and the diffraction limit of a ten-metre mirror is one twentieth. So the dispersion is five times the seeing and sixty times the diffraction limit, sitting inside a correction everybody applies, produced by a term everybody knows about. It survives because it is the derivative of a quantity rather than the quantity, and derivatives are what get left out of first-order corrections.

It is worth stating how the effect scales, because that is what decides which observations can ignore it. The differential refraction between two wavelengths is the difference of two tangents of the zenith distance, so it grows without bound towards the horizon while the total refraction is still modest: at thirty degrees of zenith distance the spread across the visible is under half an arcsecond, at sixty it is nearly one, and at seventy-five it is over two. Since a good site delivers images half an arcsecond across, the effect is negligible near the zenith, comparable to the image at sixty degrees, and larger than the image beyond seventy. That is why the same observation is unaffected in the middle of the night and corrupted at the beginning of it, and why an airmass limit rather than a correction is the usual response for programmes that can afford one.

There is a version of the effect that survives even a perfect corrector, and it is worth knowing about: the atmosphere’s dispersion depends on the water vapour content as well as on the pressure and temperature, so the correction computed from a standard atmosphere is slightly wrong on a humid night. The residual is a few milliarcseconds, which is negligible for spectroscopy and is not negligible for astrometry at the precision a large telescope now reaches.

Where the ladder goes next

The immediate next rung is the part of the atmosphere this essay has treated as static: the same refractive index, fluctuating, which is the seeing and which has its own colour dependence. Above it again sits the infrared, where water vapour dominates the refractivity, varies on minutes, and is measured rather than modelled.

What links here

Essays that link to this one from their own argument.

The objects this essay names

Each one links to every other essay that touches it.

AirmassAtmospheric dispersionAtmospheric refractionFlux calibrationParallactic anglePhotometric apertureThe point-spread functionRefractive indexSlit lossSystematic error