GLOBAL KNOWLEDGE ARK

Astronomy · Observations as evidence

A signal against a background

Follow a measurement from recorded light to an estimated target signal. Learn why subtracting a background does not remove its uncertainty.

Continue in the approved chapter order. Necessary vocabulary, quantities and assumptions are explained in the lesson.

Back to the chapter

After reading, you can

  • Separate a target signal, an additive background and random variation.
  • Calculate a simple aperture background subtraction with consistent units.
  • Explain why a non-detection and a measured zero are different claims.
01

The record begins with a mixture

A faint star does not arrive at a camera on a perfectly empty stage. The same pixels may collect light from the sky, unresolved objects and scattered light, as well as the target. The detector also contributes electronic effects. The original image records their mixture. A measurement has to define which contribution answers the question.

Signal means the contribution of interest in a stated measurement. Background means a contribution we need to estimate or model to extract it. These names depend on the question. Diffuse light that is a background for a star measurement might itself be the signal in a study of a nebula.

Noise describes variability that limits the estimate. A background can have a nonzero average and fluctuating counts. An instrument can also have a bias or a patterned defect. Calling everything unwanted “noise” hides the difference between a removable average, a random fluctuation and a systematic error.

02

Estimate what lies underneath the target

In simple aperture photometry, we add the values in a defined region around a source. Here aperture means the region selected in the image, not the physical opening of the telescope. A neighbouring region without the target helps estimate the local background per pixel. An annulus is a ring sometimes used for this purpose.

The nearby region must represent the background under the target. A second star, a bright gradient or a defect in that region can spoil the estimate. Software can reject some contaminated pixels, but the observer still needs to inspect the field. Crowded or structured fields may require more advanced methods than a simple ring.

Use values with compatible units and calibration. Raw camera values are often digital units, whose conversion to detected electrons depends on the instrument. Do not label them photons without establishing that relationship. The following arithmetic uses explicitly defined, synthetic calibrated count units.

03

A simple subtraction, with every quantity defined

Let C be the sum of the calibrated counts in the target aperture, n the number of pixels in that aperture, and b the estimated background count per pixel. A simple estimated source total is S = C − n × b. The product n × b has count units, like C; subtracting b alone would mix a per-pixel quantity with a total.

In an invented exposure, C = 15,000 count units, n = 25 pixels and b = 400 count units per pixel. The estimated background within the aperture is 25 × 400 = 10,000 count units. The remaining source estimate is S = 15,000 − 10,000 = 5,000 count units.

This calculation assumes the background estimate applies across the aperture and relevant instrumental offsets have already been treated. It estimates the source contribution inside that chosen region. It is not automatically the source’s total emitted light, its calibrated flux at Earth, or even all the light in the star’s blurred image.

Original synthetic arithmetic for two equal-duration calibrated exposures. The background regions are assumed representative; these are not observations of a real star.
QuantityExposure AExposure B
Pixels in aperture n2525
Background b, count units per pixel400800
Total aperture C, count units15,00025,000
Estimated aperture background n × b10,00020,000
Estimated source S, count units5,0005,000

A region total and a background estimate per pixel

Scroll sideways to see the full diagram. Its explanation is below.

A region total and a background estimate per pixel A schematic pixel grid has a blue solid-bordered square aperture containing five rows of five pixels, so n equals 25 pixels. A cross marks the target location, with no image intensity or source size encoded. All counts inside the aperture are summed to form C, including target and background contributions. A separate orange hatched background patch contains no target in this idealised drawing and is used to estimate b, the representative local background count per pixel. Multiply b by the 25 aperture pixels to estimate the background within the aperture; subtract that total from C to obtain S. The diagram is an invented region-selection model, not a celestial image or measured data, and does not determine a source's full flux or uncertainty. A region total and a background estimate per pixel Region-selection schematic • no pixel intensities or measured data shown Target aperture Add every pixel inside its border. Background sample Estimate a local value per pixel. Target location 5 pixels across 5 n = 5 × 5 = 25 pixels b: background per pixel Assume it represents the background under the target. C: total counts in the aperture, including its background n × b: estimated background total in that same aperture S = C − n × b C and S use count units. b uses count units per pixel. Subtracting an estimated background does not remove its uncertainty.
The invented pixel-grid diagram shows a square aperture five pixels across and five pixels high: n = 25 pixels. A cross marks the target location without encoding its shape or intensity. Sum all the calibrated counts inside that aperture to obtain C, which includes the target and background. A separate hatched background region is used to estimate b in count units per pixel; it is assumed representative of the background under the target. Multiply b by the aperture's 25 pixels to estimate the background total inside the aperture, then calculate S = C − n × b. This is a region-selection schematic, not an astronomical image or measured data. The subtraction retains uncertainty in the estimated background and does not automatically recover the source's full flux.
04

Subtracting the average leaves an uncertain estimate

The two synthetic exposures have the same estimated source total even though the raw aperture total changed. Their measurement quality need not be equal. A brighter background usually brings larger count fluctuations. Its estimated average can be subtracted, but the particular fluctuations that occurred underneath the target are not known exactly.

There is also uncertainty in b itself. If the estimated background in the first exposure were 410 rather than 400 count units per pixel, its source estimate would be 15,000 − 25 × 410 = 4,750. A difference of 10 per pixel became 250 across the aperture. Background choice matters especially when a faint source is extracted from a large total.

This is why a darkened image is not the same as a precise measurement. Moving a display slider can make the background look black while leaving the underlying data and their uncertainties unchanged. Save the original data, the chosen measuring regions and the processing steps.

05

Collecting more light helps under stated conditions

For an ideal independent photon-counting process, random counting fluctuations are often modelled with Poisson statistics: if the expected count is N, its standard deviation is √N. The fractional fluctuation is then 1/√N. This is a model of repeated counts, not a statement that every individual exposure differs from its expectation by exactly √N.

As a source-only illustration, an expected 100 detected events has a standard deviation of 10, or 10%; 10,000 has a standard deviation of 100, or 1%. The absolute fluctuation grew, but the fractional fluctuation shrank. Real measurements also include background, detector noise, calibration and atmospheric effects. Applying √N to the background-subtracted source alone can underestimate the uncertainty.

Longer exposures can collect more source light, but also more background and possibly smear a changing target. Saturation can destroy a detector’s simple proportional response. A wider measuring aperture can include more of a source’s spread-out image while collecting additional background or neighbouring light. More is useful only when the measurement remains suitable for the question.

06

A weak estimate can constrain a claim without proving absence

If the source estimate is comparable to its uncertainty, treat a detection claim cautiously. A subtraction can even return a negative value for a very weak source because the aperture and background estimates fluctuate. That is not negative physical light. It can be an ordinary outcome of an uncertain estimator, or a reason to investigate the background model.

A non-detection states that the chosen method did not reliably distinguish the source under the specified conditions. A useful upper limit requires a defined statistical procedure, sensitivity and assumptions. Do not invent a limit by replacing a negative estimate with zero or by taking the faintest pixel on a displayed image.

Before asking what a faint source is doing, ask whether it was identified correctly, whether the background was representative and how the uncertainty was estimated. The next lesson uses repeated measurements and comparison objects to test changes that a single extracted number cannot settle.

Worked example

Trace a background error through the subtraction

In an invented aperture, C = 8,000 count units across n = 20 pixels. The estimated background is b = 300 count units per pixel. What if b is too high by 5 per pixel?

  1. Using the stated estimate gives S = 8,000 − 20 × 300 = 2,000 count units.
  2. If the true representative background were 295, the corresponding source contribution would be 8,000 − 20 × 295 = 2,100.
  3. The 5-per-pixel overestimate subtracts 20 × 5 = 100 count units too much.

The source estimate is biased low by 100 count units in this stated model. This arithmetic does not determine how uncertain the actual background estimate is.

Try the reasoning

  1. Synthetic C = 12,000 count units, n = 40 pixels and b = 250 count units per pixel. Find S.

    Show the answer and reasoning

    2,000 count units.

    The aperture background is 40 × 250 = 10,000; subtract it from 12,000.

  2. A display adjustment makes the background black. Has its noise disappeared?

    Show the answer and reasoning

    No. Display appearance does not remove uncertainty from the recorded measurement.

    The original counts and the background estimation still determine the measurement.

  3. A very faint target gives a background-subtracted estimate slightly below zero. Did it emit negative light?

    Show the answer and reasoning

    No. The estimated difference can be negative because the measurement and background estimate fluctuate.

    Inspect the model and uncertainty; do not relabel an uncertain estimate as a physical negative brightness.

What to carry forward

  • Define the signal and estimate the background in compatible units.
  • Background subtraction removes an estimated contribution, not every fluctuation or systematic error.
  • A detection, a non-detection and a statistically defined limit make different claims.

References

Teaching resources and research supporting this lesson’s explanations and examples.

  1. Guide to CCD/CMOS Photometry with Monochrome CamerasAmerican Association of Variable Star Observers · July 2022, version 1.0Course notes · PDFaavso.orgRead source
  2. NIST TN 1297, Appendix A: Law of Propagation of UncertaintyBarry N. Taylor and Chris E. Kuyatt · National Institute of Standards and TechnologyReference guidenist.govRead source