Measuring on images and spectra
- Builds on
- Sections D1, D4 and S4
- Reading time
- 50 min
- Exercises
- 6
- Olympiad problems
- 1
A little over a century ago Henrietta Leavitt found the law that links the periods of Cepheids to their luminosities by measuring their images, one by one, on glass photographic plates of the Small Magellanic Cloud. Astronomers still measure pictures, though the plate has become a grid of pixels, and data-analysis problems ask for the same. They hand out an image or a spectrum and expect positions, widths and brightnesses to be read off it with a ruler or by counting pixels, and then turned into angles, magnitudes and speeds. In this section we learn to make those measurements and to carry their uncertainties into the answer.
D9.1From the picture to the sky
Two stars 0.50° apart on the sky appear 1.2 cm apart on a photograph. What is the scale of the photograph?
Every image has a scale, the angle on the sky that one millimetre or one pixel covers. When the focal length
D9.2The size and centre of a star's image
A star's profile peaks at 900 counts on a sky of 100 counts. At what level of counts is its full width at half maximum measured?
The width of a star's image tells us the , the blurring by the air that Section 5.4 describes, and it is measured as the full width at half maximum. We first find the level of the sky from pixels with no star in them, then the peak of the star, and the half maximum lies halfway between the two. The points where the profile crosses that level on either side of the peak, found by drawing a straight line between neighbouring pixels, are the two ends of the width. Multiplying the width in pixels by the pixel scale gives the seeing in arcseconds.
| Width between the cursors | |
|---|---|
| Check |
Here the sky is 120 counts and the brightest pixel holds 1850, so the half maximum is at 985 counts. The profile crosses it 3.06 pixels apart, which with 1.5″ pixels is a seeing of 4.6″, as on a poor night. Each pixel averages the light over its own width, and the straight lines between pixels cut across the curve, so the measured width comes out a little larger than the true width of the image, which here is 2.9 pixels. This matters only when a star covers just a few pixels.
The centre of a star's image is found as a mean of the pixel positions, each weighted by its counts above the sky. It can be found much more precisely than the image is wide, as (5.13) shows.
Three neighbouring pixels at positions 4, 5 and 6 hold 300, 900 and 600 counts above the sky. Where is the centre of the star?
The weighted mean is
D9.3The brightness of a star
A square aperture of 25 pixels round a star holds 52 000 counts in all, and the sky gives 400 counts in every pixel. How many of the counts come from the star?
To measure a star's brightness on an image we add up the counts in an aperture, a small square or circle round the star, and take away the sky, which is the mean sky per pixel, measured where there are no stars, times the number of pixels in the aperture. The counts of the star per second of exposure give its instrumental magnitude
| the counts added up over the | |
| the mean counts of the sky in one pixel | |
| the exposure time | |
| the true magnitude, above the air | |
| the extinction coefficient and the airmass, about | |
| the zero point of the camera |
In IOAA 2009 an image taken through a V filter, 450 s long, at a zenith distance of 25°, held five stars. The extinction was 0.3 magnitudes per airmass and the pixel scale 4.30″. Stars 1, 3 and 4, with catalogue magnitudes 9.03, 6.22 and 8.02, had instrumental magnitudes −3.02, −5.85 and −4.04, and stars 2 and 5 had −2.13 and −0.66. The sky gave 4.42 counts per pixel. Find the zero point, the magnitudes of stars 2 and 5, and the brightness of the sky in magnitudes per square arcsecond.
The airmass is
The sky gives
D9.4Wavelengths on a spectrum
Two comparison lines whose wavelengths differ by 21 Å lie 42 pixels apart on a spectrum. What is the dispersion of the spectrum?
A spectrograph spreads light out by wavelength along one axis of the image. The dispersion, the change of wavelength per pixel or per millimetre, is found from lines of known wavelength, usually from a lamp whose spectrum is recorded beside the star's. The wavelength of any other feature then follows by counting pixels from the nearest known line, and over a short stretch of spectrum a straight-line scale is good enough. The centre of a line is taken as the middle of the line at half its depth, or half its height for an emission line, or as a weighted mean like the centre of a star. Its shift from the rest wavelength gives the speed along the line of sight,
When the slit of a spectrograph lies along a rotating galaxy, one side of the galaxy approaches and the other recedes, so its emission lines come out tilted across the spectrum. Reading off the shift at each point along the slit gives the rotation curve, as the original of the problem at the end of this section asked. A slit spectrum gives only the part of the speed along the line of sight. For a thin round disc whose image is an ellipse with axes
On the spectrum of a galaxy, two comparison lines of wavelengths 4921.9 Å and 5015.7 Å lie 400 pixels apart. The galaxy's Hβ line, whose rest wavelength is 4861.3 Å, lies 212 pixels from the first comparison line, towards the second. How fast is the galaxy receding?
The dispersion is
The redshift is
- The half maximum of a star's profile lies halfway between the sky and the peak. Taken as half of the peak's counts measured from zero, it gives a width that is too large whenever the sky is bright.
- The sky has to be taken away from every pixel of an aperture, so the amount to take away is the sky per pixel times the number of pixels in the aperture.
- A slit spectrum gives only the part of a speed of rotation that lies along the line of sight. For a disc tilted by
, the speed in the disc is that part divided by . - A scale found from two stars close together is uncertain, because the reading error of the ruler is a large fraction of their separation. Stars far apart give a better scale.
- The dispersion of a spectrum changes slowly along it, so wavelengths are best found from the nearest known lines and not from one scale across the whole spectrum.
- D9.1
A camera with pixels 9 µm across sits at the focus of a telescope of focal length 1000 mm. What is its pixel scale?
arcsecondsThe pixel scale is . - D9.2
A star's image is 3.2 pixels wide at half maximum, on a camera whose pixels cover 0.8″. What is the seeing?
arcsecondsThe seeing is . - D9.3
A star gives 42 000 counts above the sky in a 60-second exposure. What is its instrumental magnitude?
The instrumental magnitude is . - D9.4
The Hα line, of rest wavelength 6562.8 Å, appears at 6578.2 Å in the spectrum of a galaxy. How fast is the galaxy receding?
km/sThe speed is km/s. - D9.5
A star's profile peaks at 2400 counts on a sky of 200 counts. At what count is its full width at half maximum measured?
The answer is (c). The star rises counts above the sky, half of that is 1100, and the half maximum is counts. - D9.6
The image of a round galaxy disc is an ellipse 6 cm long and 3 cm wide. A slit spectrum along its long axis shows a speed along the line of sight of 150 km/s. What is the speed of rotation?
The answer is (b). The tilt has , so , and the speed of rotation is km/s.
2011Weighing the spiral galaxy NGC 708325 points
Adapted from IOAA 2011 (Katowice), data-analysis problem 2. We have restated it in our own words and kept the original data. The original problem gave a photograph and a spectrum to measure, and we give the measurements that the official solution made on them. The solution was last checked on 20 October 2026.
The spiral galaxy NGC 7083 lies 40 Mpc away. The original problem gave its photograph and part of its spectrum, taken with the slit of the spectrograph along the long axis of the galaxy's image. Along the slit one pixel covers 0.82″. Two bright emission lines, with rest wavelengths 6564 Å and 6584 Å, run across the spectrum, tilted because one side of the galaxy approaches us and the other recedes. The official solution measured the following on the images. The two lines are 22 ± 2 pixels apart along the wavelength axis. Measured 10 pixels from the core on either side, the two arms of the 6564 Å line are 7 ± 1 pixels apart along the wavelength axis. On the photograph the image of the galaxy is 11.5 ± 0.5 cm long and 6.5 ± 0.5 cm wide.
(a) Find the speed of rotation of the galaxy 10 pixels from its core, taking the disc to be round. (b) Taking the central bulge to be a sphere, estimate its mass within that distance. The whole problem, which also asked for the rotation curve to be plotted, was worth 25 marks.
-
The two lines are 20 Å apart in wavelength and 22 pixels apart on the spectrum, so the dispersion is 0.909 Å per pixel.
-
The two arms of the 6564 Å line are
Å apart, so each side is shifted by half of that. The speed along the line of sight is km/s. -
The image is an ellipse with axis ratio
, so the disc is tilted by , with . The speed of rotation is km/s. -
At 40 Mpc, 0.82″ is
pc, so 10 pixels is 1.59 kpc, or m. -
The mass within that radius is
which is
solar masses. -
The dispersion and the separation of the arms are uncertain by 2 in 22 and 1 in 7. Added in quadrature with the smaller uncertainty of
, which is 0.04 of itself, they make the speed uncertain by 0.17 of itself. The mass goes as the speed squared, so it is uncertain by 0.35 of itself, or 0.4 in the units above.
AnswerThe galaxy rotates at about 176 km/s, and its bulge holds