---
title: "Flats Options: Full Set, Copy and Auto Flats"
description: "With **Enable Flats Sequence** ticked, the **FLAT HANDLING** group in the desktop simulator’s Step 1 offers three options that change which flats NINA takes and where they go. This page explains each one. For the basics of flat handling, start…"
url: "https://astro-pm.com/docs/auto-flats-per-project/"
updated: "2026-11-04"
category: Astro PM NINA Guide
---

# Flats Options: Full Set, Copy and Auto Flats

With **Enable Flats Sequence** ticked, the **FLAT HANDLING** group in the desktop simulator’s Step 1 offers three options that change which flats NINA takes and where they go. This page explains each one. For the basics of flat handling, start with [Automated Flat Handling](/docs/automated-flat-handling/).

### The Options at a Glance

[![NINA EXECUTION: Execution Playback and FLAT HANDLING](https://astro-pm.com/wp-content/uploads/2026/11/nina_sim_step1_right.jpg)](https://astro-pm.com/wp-content/uploads/2026/11/nina_sim_step1_right.jpg)
FLAT HANDLING with Auto Flats Per Project enabled (here in Once Per Project mode; Time Based adds the every-N-days box)

| Option | Default | In short |
| --- | --- | --- |
| **Full Set of Flats** | Off | Flats for every filter in the wheel, not just those used tonight. |
| **Copy Flats to Each Target** | On | Shared flats are copied into every target’s folder. |
| **Auto Flats Per Project** | Off | Only take flats a project still needs. |
|   Once Per Project / Time Based | Once Per Project | Take missing flats once, or refresh them every N days. |
|   every N days | 7 | 1, 2, 3, 5, 7, 10, 14, 21 or 30. |

   These are execution settings: they never change the simulated plan. They reach the rig with the rest of Step 1.

### Full Set of Flats

   Takes flats for **every filter in the filter wheel** at each target and rotation captured tonight, not just the filters you shot. It’s a quick way to build a complete flat library in one pass. Filter names are matched to the wheel, so R/G/B and Red/Green/Blue don’t produce duplicates. If the NINA profile has no filters defined, the plugin falls back to tonight’s captures.

### Shared Flats and Copy Flats to Each Target

   When two targets were shot with the same rotation, filter and camera settings, their flats would be identical, so they are taken once. The log says, for example, *6 combos collapse to 4 physical captures*.

- **On (default):** the files are copied into each of those targets’ folders, so every target folder is self-contained for stacking and shows its flats in Astro PM.
- **Off:** one shared set, saved under the first target, with no duplicate files.

   Copying needs `$$TARGETNAME$$` in NINA’s file pattern, so the plugin can tell which folder belongs to which target.

### Auto Flats Per Project

   Instead of taking flats after every session, take them per project, only when that project needs them. The description under the options changes with your choice:

| Mode | Behaviour |
| --- | --- |
| **Once Per Project** | *“Flats are taken the morning after a project is imaged, only for filter + rotation combinations that project doesn’t have flats for yet.”* After that, the project is left alone. |
| **Time Based** | *“Each project’s flats are re-taken every N days from its last flat session.”* Days are counted as imaging nights (noon to noon), so *every 1 day* means every night. |
| Off | *“Flats run after every session for each filter + rotation used that night.”* |

### How Astro PM Knows Which Flats Exist

   To decide, the plugin combines two records for each project:

- **The desktop’s record** – flats the desktop app found in the project’s folders. It is sent to the cloud when the project syncs and each time you run the simulator.
- **The plugin’s own record** – flats the plugin has taken itself, which the desktop can’t see until the files reach it.

   A combination counts as covered when an existing flat set matches its filter, gain, offset and binning, at a rotator angle within 2°. The log shows each decision on a `AstroPM | Flats/auto` line, and when nothing is needed NINA says *Flats skipped — all projects already have current flats.*   **Tip:** If Auto Flats keeps re-taking flats you already have, open the project on the desktop so its folders are rescanned, then run the simulator. That sends the desktop’s record to the cloud.

### Safety Holds and Missed Mornings

- If a night ends under a safety hold and the flats can’t run, Auto Flats carries them over and makes them up after the next session, for up to 3 nights.
- If the sequence is restarted 2 hours or more after the session ended, the flats window is missed. Without Auto Flats the pending flats are dropped; with Auto Flats they are carried to the next session.
- Turning Enable Flats Sequence or Auto Flats Per Project off drops anything carried over.

### Offline

   Auto Flats keeps working in [Offline / Vacation Mode](/docs/offline-vacation-mode/), using the last desktop record it fetched plus its own local record.
