Field guide · By the Astro Stacker developer · Updated

Darks, Flats and Bias Frames: Calibration Explained

Calibration frames are extra shots that record your camera’s own faults, so the stacker can remove them from your night-sky photos. Darks record sensor noise and hot pixels, flats record dust and vignetting, and bias frames record the sensor’s read-out pattern. Most people take 20 to 30 of each.

Calibration in the stacking workflow: dark, flat and bias frames are applied to each light frame before the stars are aligned and combined
Calibration happens before alignment. Each light frame is cleaned with the darks, flats and bias first.
Quick answer
  1. Darks: same exposure, ISO and temperature as your light frames, with the lens covered.
  2. Flats: an evenly lit, featureless view through the same lens and focus, exposed to about half brightness.
  3. Bias: the shortest exposure your camera allows, lens covered, same ISO.
  4. Take about 20 to 30 of each. Calibration is part of Astro Stacker Pro.

1. What each frame fixes

FrameRecordsRemoves from your photos
LightThe sky itselfNothing: this is your picture
DarkHeat noise and hot pixels at your exposureColoured specks, warm glow, amp glow
FlatHow the lens and sensor shade the lightDark corners, dust donuts, uneven brightness
BiasThe sensor’s read-out patternFixed banding and offset in every frame
Dark flatNoise at your flat exposureNoise from the flats themselves, instead of bias

2. How to take each one

Darks
Straight after your light frames, cover the lens or put the cap on and shoot the same exposure time and ISO. Keep the camera at the same temperature, because noise changes with heat. Don’t change any setting.
Flats
Without changing focus, point the lens at an even light: a dawn sky, a white T-shirt stretched over the lens, or a tablet showing a white screen. Expose so the picture is about half as bright as it can go, never clipped to white.
Bias
Lens covered, same ISO, the fastest shutter speed the camera offers. They take seconds to shoot.
Dark flats
Lens covered, the same exposure and ISO as your flats. Use them instead of bias if your flats are long.

3. How many to take

The stacker averages each set into one master frame, so more frames make a cleaner master. 20 to 30 of each is a good target. Fewer still help: even 10 darks or flats are better than none. Flats have to be retaken whenever you change focus, the lens or the zoom, or when dust moves. Darks and bias can be reused on another night with the same settings and a similar temperature.

4. Calibrating in Astro Stacker

  1. Name your files first. The app sorts frames by file name: names containing dark, flat, bias or offset, or darkflat, are filed as those types. If the name doesn’t say, it goes by exposure: 1/1000 s or shorter suggests bias, 1/10 s or shorter suggests flat. Everything else is a light frame.
  2. Import everything together: lights, darks, flats and bias.
  3. Check the groups in the project. If a frame lands in the wrong one, delete it, rename the file and import it again.
  4. Stack. The app builds a master from each set and applies it to every light frame before aligning the stars.

Calibration, RAW, Apple ProRAW and FITS are part of Pro. The FITS stacking guide covers telescope camera files, and getting the best results covers the rest of the workflow.