Dark Window

Your deep sky companion

Dark, flat and bias frames

Calibration frames are extra pictures you take, with the same camera, to clean up the pictures of your target. They remove noise, hot pixels, dark corners and dust shadows. The idea is simple: your software uses them as a recipe, roughly (light − dark) ÷ flat.

The quick version

FrameFixesHow manyCover on?
DarksHot pixels, heat noise, amp glow20 to 50Yes
FlatsDark corners, dust shadows20 to 50No, even light
Dark flatsNoise in the flats20 to 50Yes
BiasFixed readout pattern50 to 100Yes

Rule of thumb: keep the settings the same as your lights (exposure, ISO or gain, temperature) for darks, and keep the optics the same (focus, rotation, filter) for flats. Use dark flats or bias, not both.

What do I need to shoot?

Pick your camera for a short list.

The sensor warms up as the night goes on, so darks are best taken in the field at the same temperature as your lights.

  • DarksYes
    20 to 50

    Same exposure, ISO and temperature as the lights. Take them at the end of the session, lens cap on.

  • FlatsYes
    20 to 50

    Same focus, ISO and orientation as the lights. Take them before you touch anything.

  • Dark flatsRecommended
    20 to 50

    Darks at the exact exposure of your flats. Use these or bias, not both.

  • BiasOptional
    50 to 100

    Only if you are not using dark flats. Fastest shutter speed, cap on.

Each frame in detail

How many is enough?

Camera setup checklist

For a DSLR or mirrorless camera. Cooled astro cameras set these in their capture software, and add gain, offset and the cooling set point.

File format
Raw (never JPEG)
Mode
Manual (flats can use aperture priority)
Long exposure noise reduction
Off
High ISO noise reduction
Off
Image stabilization
Off
Mirror lock-up or electronic shutter
On for flats and bias, to avoid vibration
White balance
Anything. It does not affect raw
Focus
Manual, and do not move it between lights and flats

A night’s order of work

  1. Before dark: set focus, note ISO or gain and your exposure length. Write them down.
  2. Shoot your lights through the night.
  3. Straight after the last light, and before touching anything, shoot the flats.
  4. Cap the camera and shoot the dark flats, then the darks (uncooled cameras: now, while the sensor is still warm).
  5. Bias frames, if you are using them, can wait until later.
  6. Keep each set in its own folder, named with the settings, such as darks_120s_ISO800.

Common mistakes

Questions

Do I need all four types?
No. A good minimum for a DSLR or mirrorless camera is darks and flats. Add dark flats or bias if you want to go further. A cooled astro camera benefits from all of them, and a smart telescope needs none.
What is a light frame?
A light frame is an ordinary picture of your target. Calibration frames are the extra pictures you take so the software can clean the lights.
Can I use dithering instead of darks?
Dithering moves the pointing slightly between frames, so hot pixels fall in different places and are rejected when you stack. It works very well on low-noise sensors, and many people use dithering with only flats. Darks still help, particularly on uncooled cameras and sensors with amp glow.
Can I reuse calibration frames from another night?
Darks, if the exposure, ISO or gain, and temperature all match (easy on a cooled camera, hard on an uncooled one). Bias frames, yes. Flats, only if nothing in the optical path has changed, which is rare.
Does the filter matter for flats?
Yes. Each filter has its own dust shadows, so shoot a set for each one you use.
What does the stacking software do with them?
It averages each set into a master, then for every light it subtracts the master dark and divides by the master flat. Free programs such as DeepSkyStacker, Siril and Sequator handle this, as do PixInsight and Astro Pixel Processor.
Is a T-shirt flat really good enough?
For most cameras, yes. The goal is only a smooth, even light. A white T-shirt over the lens, pointed at the twilight sky, works well. If your flats show a gradient, a cheap LED panel is the usual upgrade.

Next: check your exposures with the histogram guide, or read about filters.