4. Flat correctionsΒΆ
The purpose of flat corrections is to compensate for any nonuniformity in the response of the CCD to light. There can be several reasons that the response is not uniform across the detector:
Variations in the sensitivity of pixels in the detector, though this source is usually small.
Dust on either the filter or the glass window covering the detector.
Vignetting, a dimming in the corners of the image.
Anything else in the optical path that affects how much light reaches the sensor.
The fix for nonuniformity is the same in all cases: take an image in which the illumination is uniform and use that to measure the response of the CCD.
Unfortunately, achieving uniform illumination is difficult, and uniform illumination with the same spectrum as the astronomical objects of interest is impossible.