AI-generated illustration for Galileo Whispers. A conceptual flat-field setup. The illuminated diffuser provides an even field for calibration.
Flat frames let you measure how much less light reaches one part of an astronomical image than another. If dust in the optical path lets 80 percent as much light reach a patch of the sensor, that patch will also record roughly 80 percent of the signal it should from a star or the sky. Dividing by a normalized flat field corrects that relative response. The AAVSO DSLR Observing Manual describes the calibration as division after the relevant electronic offsets have been removed.
Why the shadow calls for division
Consider two areas that would each record 1,000 counts in a detector with uniform throughput. Think of those counts after removing the electronic baseline and any relevant dark signal. The clear area records 1,000 counts. A dusty patch records 800. Pointing that same setup at an evenly illuminated field shows a corresponding depression. Normalize the clean reference level to 1.0 and the dusty patch measures 0.8.
Divide the science image by those values at the corresponding pixels. The clean area stays at 1,000 divided by 1.0, and the affected area rises from 800 divided by 0.8 to an estimate of 1,000 counts on the same scale. Now imagine a fainter exposure in which the dusty patch records 400 instead of the 500 it would record at normal throughput. An additive correction of 200 counts, inferred from the brighter frame, would give 600. The same division by 0.8 gives 500. The amount missing changes with the light reaching the patch. Its relative throughput is what the flat measures.
The Hubble WFC3 calibration documentation applies this same idea with detector and optical responses measured across the image. Flat fields can correct broad falloff toward the corners and much smaller sensitivity variations. A diffuse glow from light pollution across the sky requires separate treatment because it adds light and can vary across exposures.
The camera and filter need to match
The flat and the science exposure need to share the same pattern of shadows. Dust near the sensor or on a filter can cast a soft disk whose location and diameter depend on the light path. Change the filter, rotate part of the camera train, or shift the focus enough, and the pattern can move or change shape. The old flat will then brighten pixels that were unaffected and leave part of the original shadow behind. A bright crescent beside a dark one in the calibrated frame can be a clue that two shadow positions were offset.
Aim for a field that is uniform at the opening of the optics, such as a suitable diffuser or an evenly lit twilight sky. Moving stars or a changing sky gradient can imprint an unwanted pattern if they survive the combination of the flat exposures. Keep the samples within the detector’s linear range. A saturated pixel cannot tell you how much brighter it would have been. Combining several calibrated flats reduces their own noise before the result is normalized and applied.
A flatter background can still be noisier
The correction brings the scale of the signals into agreement, but only the photons that reached the detector were counted. In the 80 percent patch, both the measured signal and its noise are rescaled by the division. A noisy flat adds its own uncertainty, and a nearly opaque region is a poor candidate for a trustworthy fix. Compare the before and after frames at the same display stretch. If the background becomes more uniform while faint detail remains noisier in the dusty region, the correction may be working exactly as expected.
Stacking images can improve signal-to-noise across exposures once they are calibrated. It has a different job from the flat, which is to correct a position-dependent response that could persist through the stack. If you are preparing a first wide-field session, start with the basics of photographing the Milky Way, then keep the setup fixed for the calibration exposures.