Dark Frame Analyzer
Analyses your dark-frame series and rejects out-of-spec frames before WBPP stacking.
Compatibility
Compatible with PixInsight 1.9.6
Tested and verified against the latest PixInsight release, 1.9.6 (Lockhart).
Overview
A bad dark silently degrades your master dark, and everything calibrated with it.
Dark Frame Analyzer inspects a whole series at once. For each subframe it computes robust statistics (clipped median, exact MAD, hot pixels, saturation, thermal drift, spatial uniformity) through PixInsight's C++ engine, so a 50-frame series is analysed in seconds, then compares every frame against the series reference.
Each dark is graded Valid, Alert or Rejected in a colour-coded table, with a detailed console report, a CSV export and a WBPP-ready exclusion list. Rejects can also be moved to a subfolder in one click.
Outlier detection ships anti-quantisation floors for CMOS sensors whose distribution is peaked by ADC discretisation. Thresholds, pre-tuned for an IMX585-class sensor, are all adjustable and remembered across sessions. Bilingual FR/EN interface, FITS and XISF input.
Features
Robust outlier detection
Series-relative statistics (clipped median, exact MAD, hot pixels, thermal drift, spatial uniformity) with anti-quantisation floors: ADC steps never become false positives.
Native speed
Histograms and converged iterative sigma clipping computed by PixInsight's C++ engine: a 50-frame series is analysed in seconds.
WBPP-ready workflow
Exclusion list as text or file, or one click to move rejected frames to a subdirectory WBPP never sees.
Full reporting
Colour-coded results table with per-frame tooltips, detailed console report and CSV export with stable machine-readable headers.
Tunable, persistent thresholds
Every detection threshold is adjustable, remembered across sessions and restorable in one click (presets tuned for an IMX585-class sensor).
Bilingual UI
English and French, switchable live, choice remembered. FITS and XISF input.
Screenshots
Privacy, network and files
Network and programs
Dark Frame Analyzer makes no network connection and collects no data: no download, no upload, no telemetry. The only network-related action happens when you click the "by CaeloWorks" line in its window: your default web browser opens this page (the script runs cmd /c start on Windows, open on macOS, xdg-open on Linux, with the page URL as its only argument). Nothing else is ever launched.
Files
The script never writes inside the PixInsight installation and never modifies your dark frames. It writes only where you tell it to: the CSV report, the .txt exclusion list, and a rejected/ subdirectory next to your darks when you confirm "Move to rejected/…". Files are moved, never deleted. Its thresholds and interface language are stored in PixInsight's settings, under the DarkFrameAnalyzer key.
Install
-
01
Add the CaeloWorks repository
In PixInsight, open Resources → Updates → Manage Repositories and add the CaeloWorks repository URL:
-
02
Check for updates
Run Resources → Updates → Check for Updates and accept: PixInsight downloads and installs the script.
-
03
Restart PixInsight
Relaunch the application: the script shows up in the Script menu. Future updates then arrive automatically.
Once installed, the script shows up under Script → CaeloWorks → Dark Frame Analyzer. Manual alternative: download the zip from the GitHub releases, unzip it keeping DarkFrameAnalyzer.js and its signature DarkFrameAnalyzer.xsgn in the same folder, then add that folder through Script → Feature Scripts. Requires PixInsight 1.9+, Windows, macOS or Linux.
Changelog
-
1.11.1 2026-10-31
The script is signed with the CaeloWorks identity of the Certified PixInsight Developer program (rule 5.1 of the CPD Program Rules). No change to the computations. Verified with PixInsight 1.9.5 and 1.9.6.
-
1.11.0 2026-10-13
Brought in line with the CPD Program Rules v1.0 published by Pleiades Astrophoto. The reference documentation, in English and French, now installs with the script and is integrated into the PixInsight documentation: usage guide, results table, thresholds, exports, and a "Privacy, network and files" section. The "by CaeloWorks" link in the header opens the script's own page, in the interface language, instead of the catalogue home page. Verified with PixInsight 1.9.5.
-
1.10.0 2026-08-18
Support for .fts dark frames (same FITS format as .fits, previously unloadable) and a Cancel button that stops an analysis while keeping the frames already measured. The version shows in the window header, and icons now accompany the Darks-list buttons. The hot-pixel report labels follow the configured threshold (the CSV header stays hot_5k) and the English wording is consistent between the table and the summary. Fixes: fewer than 3 readable darks are no longer all reported Valid in silence (an explicit warning is shown); the numeric columns (median, noise, hot px, saturation) sort in numeric order; and no more horizontal scrollbar or Status column crushed on the file list.
-
1.9.0 2026-07-11
The script now has its icon in PixInsight (Script menu and Feature Scripts) and a dialog header in the CaeloWorks livery. It moves to the CaeloWorks menu category, leaving Utilities. Under the hood: GPL-3.0 license, a test suite with continuous integration, and a distribution package for the update repository.
-
1.8.0 2026-07-02
First public release (GPL-3.0).

