Hostname: page-component-6766d58669-nf276 Total loading time: 0 Render date: 2026-05-14T17:28:31.570Z Has data issue: false hasContentIssue false

Detector Sampling of Optical/IR Spectra: How Many Pixels per FWHM?

Published online by Cambridge University Press:  29 August 2017

J. Gordon Robertson*
Affiliation:
Sydney Institute for Astronomy, School of Physics, University of Sydney, NSW 2006, Australia Australian Astronomical Observatory, PO Box 915, North Ryde, NSW 1670, Australia
Rights & Permissions [Opens in a new window]

Abstract

Most optical and IR spectra are now acquired using detectors with finite-width pixels in a square array. Each pixel records the received intensity integrated over its own area, and pixels are separated by the array pitch. This paper examines the effects of such pixellation, using computed simulations to illustrate the effects which most concern the astronomer end-user. It is shown that coarse sampling increases the random noise errors in wavelength by typically 10–20 % at 2 pixels per Full Width at Half Maximum, but with wide variation depending on the functional form of the instrumental Line Spread Function (i.e. the instrumental response to a monochromatic input) and on the pixel phase. If line widths are determined, they are even more strongly affected at low sampling frequencies. However, the noise in fitted peak amplitudes is minimally affected by pixellation, with increases less than about 5%. Pixellation has a substantial but complex effect on the ability to see a relative minimum between two closely spaced peaks (or relative maximum between two absorption lines). The consistent scale of resolving power presented by Robertson to overcome the inadequacy of the Full Width at Half Maximum as a resolution measure is here extended to cover pixellated spectra. The systematic bias errors in wavelength introduced by pixellation, independent of signal/noise ratio, are examined. While they may be negligible for smooth well-sampled symmetric Line Spread Functions, they are very sensitive to asymmetry and high spatial frequency sub-structure. The Modulation Transfer Function for sampled data is shown to give a useful indication of the extent of improperly sampled signal in an Line Spread Function. The common maxim that 2 pixels per Full Width at Half Maximum is the Nyquist limit is incorrect and most Line Spread Functions will exhibit some aliasing at this sample frequency. While 2 pixels per Full Width at Half Maximum is nevertheless often an acceptable minimum for moderate signal/noise work, it is preferable to carry out simulations for any actual or proposed Line Spread Function to find the effects of various sampling frequencies. Where spectrograph end-users have a choice of sampling frequencies, through on-chip binning and/or spectrograph configurations, it is desirable that the instrument user manual should include an examination of the effects of the various choices.

Information

Type
Research Article
Copyright
Copyright © Astronomical Society of Australia 2017 
Figure 0

Figure 1. Wavelength uncertainty vs. sampling frequency for a range of pixel-phase values. The LSF form is Gaussian. The uppermost (blue) curve corresponds to pixel phase = 0 (peak centred on a pixel), while the lowest (red) curve, which has a maximum at sample frequency ~1.64, is for pixel phase = ±0.5, i.e. a peak lying on the boundary between two pixels. Other curves have pixel phases at intervals of 0.1. The noise in each pixel is uncorrelated and is appropriately scaled for the actual pixel widths, such that the noise for unit dispersion axis interval remains constant. The vertical scale of RMS position uncertainties has been normalised to unity at very large sample frequency.

Figure 1

Figure 2. Gaussian LSF (black) with superposed sampled versions of the same LSF (blue: pixel phase 0, red: pixel phase 0.5). The sampling frequency is 1.5 pixels FWHM−1.

Figure 2

Figure 3. Wavelength uncertainty vs. sampling frequency for a Lorentzian LSF, otherwise as for Figure 1.

Figure 3

Figure 4. Lorentzian LSF (black) with superposed sampled versions of the same LSF (blue: pixel phase 0, red: pixel phase 0.5). The sampling frequency is 1.75 pixels FWHM−1.

Figure 4

Figure 5. Wavelength uncertainty vs. sampling frequency for a sinc2 LSF. Since the sinc2 function has minor lobes with amplitudes decaying slowly away from the central peak, it is not possible to include all the function’s non-zero values as was effectively done for other LSFs. In this case, the summations were continued to dispersion axis positions of ±225.76 × FWHM, in order to obtain a close approximation to the band-limited nature of sinc2. The pixel-phase curves are coloured as in Figure 1.

Figure 5

Figure 6. Wavelength uncertainty vs. sampling frequency for a range of pixel-phase values. The LSF form is the convolved projected circle. At a sample frequency of 2 pixels FWHM−1, the lowest (blue) curve corresponds to pixel phase = 0 (peak centred on a pixel), while the highest (red) curve is for pixel phase = ±0.5. Other curves again have pixel phases at intervals of 0.1.

Figure 6

Figure 7. Convolved projected circle LSF (black) with superposed sampled versions of the same LSF (blue: pixel phase 0 at 2.03 pixels FWHM−1 (i.e. at the local minimum of the position uncertainty curve), red: pixel phase 0.5 at sampling frequency 1.82 pixels FWHM−1 (i.e. at the local maximum)).

Figure 7

Figure 8. Arc line profile from AAOmega, using a sub-area of 1 000 (spatial) × 500 (wavelength) pixels near the centre of the data frame. Two-hundred-sixty-six unblended and unsaturated fibre images were selected for processing. The horizontal axis is in units of pixels, and the vertical axis is intensity in arbitrary units. The blue curve is a three-parameter empirical fit, I = 0.2800 exp( − 0.1854|p|2.4174), where p is the horizontal axis independent parameter in pixels. The residuals with respect to this fit are also shown—indicating that the fit is good but not perfect. The fitted curve has FWHM = 3.450 pixels.

Figure 8

Figure 9. Wavelength uncertainty vs. sampling frequency for a range of pixel-phase values. The LSF is from the AAOmega spectrograph. At a sample frequency of 2 pixels FWHM−1, the lowest (blue) curve corresponds to pixel phase = 0 (peak centred on a pixel), while the highest (red) curve is for pixel phase = ±0.5. Other curves again have pixel phases at intervals of 0.1. (The actual sample frequency for the intrinsic LSF of AAOmega is 3.41 pixels FWHM−1.)

Figure 9

Figure 10. AAOmega spectrograph LSF (black) with superposed sampled versions of the same LSF (blue: pixel phase 0, red: pixel phase 0.5). The sampling frequency is 2.0 pixels FWHM−1 (not equal to the actual as-built pixel scale). The unsampled LSF has a FWHM of 3.41.

Figure 10

Figure 11. Width uncertainty vs. sampling frequency for a range of pixel-phase values. The LSF is Gaussian. The lowest (blue) curve corresponds to pixel phase = 0 (peak centred on a pixel) while the highest (red) curve is for pixel phase = ±0.5. Other curves have pixel phases at intervals of 0.1. The noise in each pixel is uncorrelated and is appropriately scaled for the actual pixel widths, such that the noise for unit dispersion axis interval remains constant. The vertical scale of RMS width uncertainties has been normalised to unity at very large sample frequency.

Figure 11

Figure 12. Width uncertainty vs. sampling frequency for the convolved projected circle LSF. The colour coding for pixel phases is as before.

Figure 12

Figure 13. Peak uncertainty vs. sampling frequency for the Gaussian LSF. As before, the noise is constant per unit wavelength interval, and is independent from one pixel to the next. The uncertainties are normalised to unity at large sampling frequency, in order to show the effects of pixellation. The colour coding for pixel phases is as before.

Figure 13

Figure 14. Peak uncertainty vs. sampling frequency for the convolved projected circle LSF. The colour coding for pixel phases is as before.

Figure 14

Figure 15. Relative resolving power Rσλ/R = 1/β, where Rσλ is the resolving power of the LSF in question, as subject to pixellation and measured on the consistently defined ‘β’ scale, and R = λ/FWHM is the conventionally defined resolving power of the LSF, in the limit of fine sampling. The plot shows the relative values of Rσλ/R for the four LSFs, when all have the same unsampled FWHM. On this scale, the value 0.886 corresponds to the resolving power of a fine-sampled sinc2 LSF (again with the same FWHM), using the Rayleigh criterion to define resolution. The shaded areas indicate the range covered by different pixel phases. From the top, the curves are red—convolved projected circle; grey—AAOmega LSF; blue—Gaussian; green—Lorentzian. The black curves show the effect of pixel convolution on the conventional R = λ/FWHM.

Figure 15

Figure 16. Bias errors of position, peak height, and width for a plain Gaussian fitted to a sampled Gaussian LSF. For position and width, the errors are relative to the FWHM of 1.0, and the peak bias is relative to the Gaussian LSF peak = 1.0. The filled areas show the range of values covered by different pixel phases. The annotation ‘× 10−3’ on the vertical axis of panel ‘a’ applies only to that panel.

Figure 16

Figure 17. Bias errors of position as a function of pixel phase, for a plain Gaussian fitted to a Gaussian LSF. The highest amplitude curve is for sample frequency of 1.5 pixels FWHM−1, the others are at 1.6 and 1.9 pixels FWHM−1.

Figure 17

Figure 18. Bias errors of position, peak height, and width for a plain Gaussian fitted to an LSF derived from convolution of a projected circle with a Gaussian that gives the minimum final intrinsic FWHM. For position and width, the errors are relative to the FWHM of 1.0, and the peak bias is relative to the intrinsic LSF peak = 1.0. The filled areas show the range of values covered by different pixel phases.

Figure 18

Figure 19. Bias errors of position as a function of pixel phase, for a plain Gaussian fitted to the convolved projected circle LSF. The highest amplitude curve is for sample frequency of 1.5 pixels FWHM−1, the others are at 2.16 and 2.96 pixels FWHM−1.

Figure 19

Figure 20. Example of the misfit of a pure Gaussian to the convolved projected circle. Thick black line: intrinsic convolved projected circle LSF; blue ‘histogram’ plot: the LSF sampled at 1.5 pixels FWHM−1 and pixel phase −0.29, which gives the maximum position bias error; red curve: the Gaussian which best fits the sampled data.

Figure 20

Figure 21. Thick blue curve—Gaussian LSF perturbed by some high-frequency noise. Thin red curve—the unperturbed parent Gaussian LSF. The perturbation is a sum of three sine curves with amplitudes Ai = [0.1, 0.05, 0.03], pixel phases at sine wave zero crossing ϕi = [ − 0.33, 0.85, −0.6], and frequencies fi = [1, 2, 4] where f1 corresponds to one cycle across the FWHM. The final perturbed curve is a Gaussian of peak and FWHM = 1 multiplied by (1 + the sum of sine waves).

Figure 21

Figure 22. Bias errors of position, peak height, and width for a plain Gaussian fitted to a perturbed Gaussian LSF. For position and width, the errors are relative to the parent FWHM of 1.0, and the peak bias is relative to the parent Gaussian LSF peak = 1.0. The filled areas show the range of values covered by different pixel phases. The errors have been calculated relative to the original unperturbed LSF, and therefore have essentially arbitrary zero point offsets.

Figure 22

Figure 23. Bias errors of position as a function of pixel phase, for a plain Gaussian fitted to the perturbed Gaussian LSF. The blue curve is for sample frequency of 1.5 pixels FWHM−1, red is at 1.6, and green at 1.9 pixels FWHM−1.

Figure 23

Figure 24. Bias error of centroid positions for a Gaussian LSF. The filled area shows the range covered by different pixel phases.

Figure 24

Figure 25. Bias errors of centroid position as a function of pixel phase for a Gaussian LSF. The largest amplitude curve (blue) is at 1.50 pixels FWHM−1; the other two are at 1.594 and 1.715 pixels FWHM−1.

Figure 25

Figure 26. Bias error of centroid positions for the convolved projected circle LSF. The filled area shows the range covered by different pixel phases.

Figure 26

Figure 27. Bias errors of centroid position as a function of pixel phase for the convolved projected circle LSF. The largest amplitude curve (blue) is at 1.50 pixels FWHM−1; the other two are at 1.653 and 2.083 pixels FWHM−1.

Figure 27

Figure 28. Bias error of centroid positions for the perturbed Gaussian LSF. The filled area shows the range covered by different pixel phases.

Figure 28

Figure 29. Illustration of the effects of pixellation on the ability to see two equal height Gaussian peaks as separate. The horizontal axis gives the pixel phase of the first of the two peaks. The vertical axis shows the separation of the two peaks that is required for there to be a local minimum in the pixellated data which is 81.1% of the lower of the two pixellated main peaks. Curves are given for sampling frequency values from 1.75 to 5 pixels FWHM−1, as labelled. The horizontal grey line at separation/FWHM = 1.1196 is the limiting separation in the case of finely sampled LSFs. The points labelled ‘a’,‘b’,‘c’ refer to sample frequencies and pixel phases whose LSFs are shown in Figure 30.

Figure 29

Figure 30. LSF plots for the three cases indicated in Figure 29.

Figure 30

Figure 31. Illustration of the effects of sampling. Blue: Gaussian intrinsic LSF, with FWHM = 1 and peak = 1; red histogram-style line: the LSF sampled at 2 pixels FWHM−1 and pixel phase = 0.25; black diamonds: the sampled points; green: the intrinsic LSF convolved with the pixel rectangle.

Figure 31

Figure 32. Modulation Transfer Function of a sinc2 LSF, sampled at 1.7718 pixels FWHM−1. In order to obtain good accuracy of the transform, the sinc2 subsidiary lobes were included out to ±100 ×FWHM. The first set of computations used 4 096 points over this range, giving a well-sampled transform; the horizontal axis was then rescaled to show the results for a sampling frequency of 1.7718 pixels FWHM−1. This is the reason that frequencies above the Nyquist frequency of 0.5 cycles pixel−1 can be shown. Red curve: sinc function due to smoothing by contiguous pixels of uniform sensitivity; blue straight line: the transform of the sinc2 LSF; brown line: product of the above two, showing the MTF of the sampled LSF; grey vertical line: the Nyquist frequency for sampling; black dashed line: the LSF transform multiplied by two sinc factors (see text). Not visible in the plot are six additional lines, all coincident with the brown line. They were computed by actually sampling the sinc2 LSF at 1.7718 pixels FWHM−1 and six different pixel phases, and then Fourier Transforming.

Figure 32

Figure 33. Modulation Transfer Function of a sinc2 LSF, sampled at 1.5 pixels FWHM−1. Otherwise as for Figure 32. In this case, the curves for the six different pixel phases diverge sharply at spatial frequencies affected by aliasing. (The latter curves must terminate at the Nyquist frequency because they were computed by actually sampling at 1.5 pixels FWHM−1.)

Figure 33

Figure 34. Modulation Transfer Function of the convolved projected circle LSF, sampled at 2 pixels FWHM−1. The colour coding of curves is as for Figures 32 and 33. For this sampling frequency and LSF shape, there is a null at 0.498, i.e. near the Nyquist frequency.

Figure 34

Figure 35. Enlarged view of the lower part of Figure 34, showing more clearly the curves for six different pixel phases.

Figure 35

Figure 36. Modulation Transfer Function of the convolved projected circle LSF, sampled at 2 pixel widths per FWHM and dithering with pixel spacing = 0.5 × pixel width. The colour coding of curves is as for Figures 32 and 33. The green line shows six coincident lines for different pixel phases.

Figure 36

Figure 37. Wavelength uncertainty vs. sampling frequency for a Gaussian LSF subject to Poisson noise. The position (wavelength) is taken from the centroid of the observed LSF. The full range of pixel phases is shown as six curves, but they are coincident except for minor differences near 1.5 pixels FWHM−1. The curves have been normalised to unity at very large sample frequency.