#### L16: Spectrographs I design principles

Obtaining spectroscopic data on astronomical objects is at the heart of observational astronomy. Photometry through different coloured filters can provide crude information on the spectrum of an object, but what if we need finer detail? Perhaps we wish to study the absorption lines present in a star's spectrum, or measure a star's radial velocity through the shift in those lines. The astronomical spectrograph is designed for this purpose. An astronomical spectrograph splits, or disperses, the light from a source into its component wavelengths. Some means of dispersing the light is therefore required. This function used to be performed by a prism, which exploits the fact that light of different wavelengths are refracted by different amounts, with blue light being refracted more than red light. However, prisms are inefficient, as light is lost at each air-glass surface (see figure 79). In addition, the amount of dispersion is not very high, and not easy to control.

Figure 79: Dispersion of light by a prism. Note the loss of light at each air-glass surface, which makes prisms inefficient.

The almost universal choice for the dispersing element in modern astronomical spectrographs is the diffraction grating. There are two types of diffraction grating in use:

• a transmission grating, where a large number of fine, equidistant, parallel lines are ruled onto a transparent glass plate so that light can pass between the lines, but not through them.
• a refection grating, where the lines are ruled onto a reflective piece of glass so that only the light between the lines is reflected.

Regardless of the grating type, they both work on the same principle. The gaps between the lines act as secondary light sources. In certain directions, these light sources will constructively interfere. This principle is shown in figure 80.

Figure 80: A simplified diffraction grating with two lines.

In figure 80, I show a simplified diffraction grating, where we have two gaps between the ruled lines acting as secondary sources. The path length between these two sources to a distant detector is given by $$d\phi = d\sin\theta$$. When this path length is equal to an integer number of wavelengths, we will get constructive interference. Hence, the condition for constructive interference is written as
$n\lambda = d\sin\theta.$
This equation is known as the grating equation, and is fundamental to understanding how gratings work.

If we imagine monochromatic light falling on our grating, we will get constructive interference, and thus beams of light, where $$n=0,1,2,...$$, and so on. These are referred to as the zeroth, first and second orders. Now consider what happens when white light is incident on our grating. In the zeroth order, $$n=0$$ and the angle at which constructive interference occurs, $$\theta$$, is independent of wavelength. The zeroth order is not dispersed. In the first orders $$n = \pm 1$$, the grating equation implies that $$\theta$$ must increase as $$\lambda$$ increases. Thus, the angle at which constructive inteference occurs is wavelength dependent, and dispersion occurs. This is shown in figure 81.

Figure 81: Photograph showing the diffraction pattern produced by a monochromatic light source (top) and a white light source (bottom) incident on a diffraction grating. The central bright line is the zeroth order, with orders ±1, ±2 and ±3 shown either side of this. Notice the larger dispersion in the higher orders, as predicted by the grating equation. We will discuss the origin of the fainter lines between the bright lines in the next lecture.

#### Basic spectrograph design

Figure 82 - Top: schematic of an astronomical spectrograph incorporating a reflection grating. The slit is in the focal plane of the telescope. The detector is in the focal plane of the camera. Bottom: schematic of a spectrograph using a transmission grating.

Figure 82 - Left: schematic of an astronomical spectrograph incorporating a reflection grating. The slit is in the focal plane of the telescope. The detector is in the focal plane of the camera. Right: schematic of a spectrograph using a transmission grating.

Most spectrographs use the same design, based on the re-imager we saw in the previous lecture. Schematics of spectrographs, using transmission and reflection gratings, are shown in figure 82 above. The five basic components of an astronomical spectrograph are the slit, collimator, grating, camera and detector. The roles of each of these components are described in more detail below.

Slit

The slit is a mask with a narrow rectangular aperture that is placed in the focal plane of the telescope. The slit has two main functions. First, the slit acts as a means of isolating the region of interest on the sky; only light falling on the slit may enter the spectrograph, as shown in figure 83. Without a slit present, the spectra from sources either side of the target would overlap, contaminating the target spectrum. Additional sky background from either side of the target would also be recorded, degrading the signal-to-noise ratio of the spectrum.

Figure 83 - Top left: image of a star field. Top right: the same star field, but imaged by a slitless spectrograph. Note how the spectra of objects at the same y position in the image overlap. Bottom: ULTRASPEC data showing the image of a star field recorded with the slit and grating removed from the beam (left), the image of the star field when just the slit is inserted into the beam (centre), and the spectra of the stars on the slit that result when the grating is also inserted into the beam (right). The y axis is the spatial direction and the x axis is the dispersion direction. Credit: Vik Dhillon.

The second function of the slit is to provide stable spectral resolution. This can be understood by noting that a spectrum is essentially an infinite number of images of the telescope focal plane, each shifted slightly in wavelength. Hence, without a slit present, the spectral resolution of an object would be defined by the width of the object. For a point source like a star the would be defined by the seeing. However, since seeing varies with time, the spectral resolution would then vary with time. The solution is to illuminate a narrow slit with the source, so that the spectrum becomes an infinite number of images of the slit, not the source. The minimum width of any spectral lines would then be defined by the slit width, and would hence be stable.

Spectrographs re-image, or project, the slit in the focal plane of the telescope onto the detector, which lies in the focal plane of the camera. As we discovered when looking at re-imagers, the ratio of the camera to collimator focal lengths determines the magnification of the image of the slit on the detector: $$M = F_{\rm cam} / F_{\rm coll}$$. Hence a slit of width 50 μm in a spectrograph with a collimator of focal length 500 mm and camera of focal length 250 mm would be projected to a width of 25 μm on the detector. We will see what sets the optimal slit width, when we discuss spectral resolution in the next lecture.

Figure 84 - Top: Image (left) and slitless spectrum (right) of the Ring Nebula (M57), showing that individual spectral lines take on the appearance of the nebula. Bottom left: Photograph of light illuminating five different slits of width, from top-to-bottom, 400 μm, 100 μm, 50 μm, 200 μm and 400 μm. Bottom right: spectra of a hydrogen lamp, produced by illuminating the slits in the left-hand panel. Note how the spectrum is made up of images of the slit shifted in wavelength.

Collimator

When we derived the grating equation, we assumed the light was arriving perpendicular to the grating. In general the light will arrive at the grating at an angle $$\phi$$, and this will add an additional phase shift to the light emerging from each gap between the grating lines. The situation is shown in figure 85.

In figure 85, we see that the new phase shift between the two sources is $$x + y$$. Since $$x = d\sin\phi$$ and $$y = d\sin\theta$$, a modified version of the grating equation to account for this is
$n\lambda = d (\sin\theta + \sin\phi).$
Without a collimator, the diverging light from the slit would hit the grating, resulting in variable angles of incidence as a function of position on the grating. From the equation above, we see that varying the angle of incidence, $$\phi$$, results in changes to the angle of diffraction, $$\theta$$. Hence the same wavelength of light in the same order would be imaged onto different positions on the detector, blurring the resulting spectrum. With a collimator, however, all angles of incidence on the grating are equal and no such blurring would result.

Figure 85: A modified version of the simple diffraction grating. Now the light falls on the grating at an angle $$\phi$$.

Grating

As discussed above, the grating splits the light into its component wavelengths. The modified grating equation above shows that by varying $$\phi$$, the wavelength that gets diffracted into angle $$\theta$$ can be varied. This will affect the location on the detector of each wavelength. Hence most spectrographs have gratings that can be tilted in order to adjust the start and end wavelengths of the spectrum.

Camera

The role of the camera in an astronomical spectrograph is to collect the spectrally-dispersed beams from the grating, which are still collimated, and make them converge so that the spectrum is imaged onto the detector. The camera can be either a lens, mirror, or catadioptric system.

Detector

The dispersed light is ultimately imaged by the spectrograph onto the detector, forming a spectrum, as shown in the bottom-right panel of figure 83. We can define the direction along the slit (i.e. the vertical direction in the bottom-right panel of figure 83) as the spatial axis, and the direction along the spectrum (i.e. the horizontal direction in the bottom-right panel of figure 83) as the dispersion axis.