CCDASTRO Master Workflow

Existing PixInsight tools in one place, from session datasets to masters.

Install first

PixInsight Update Manager

  1. Open Resources → Updates → Manage Repositories and add:

    https://raw.githubusercontent.com/CCDASTRO/CCDASTRO-Master-Workflow/main/updates/

  2. Choose Resources → Updates → Check for Updates, install Master Workflow and restart PixInsight when requested.
  3. Open Script → CCDASTRO → Master Workflow. If missing, use Script → Feature Scripts to scan src/scripts/CCDASTROMasterWorkflow under the PixInsight installation and regenerate the feature list.

Keep this repository enabled for later updates. It is separate from our post-processing Workflow Manager.

Manual installation or testing

  1. Download the release ZIP and extract it. In its src/scripts/CCDASTROMasterWorkflow folder keep all three JavaScript files and the signature together. A GitHub source ZIP has a pixinsight folder instead.
  2. Choose Script → Execute Script File and select CCDASTROMasterWorkflow.js. Do not run MasterTools.js separately.
  3. For a permanent menu entry add the containing folder through Script → Feature Scripts. For upgrades replace the matching script, include and signature together; keep saved JSON session plans.

v0.4.0 native UI checked on PixInsight 1.9.6/V8. Existing scripts must be installed separately. No vendor files are included.

Choose a method, then use its own controls.

  1. Select an acquisition profile and optionally record the session root, output destination and per-filter folders.
  2. Choose a tool from the relevant dropdown and click Open tool.
  3. Configure the actual inputs, outputs and processing options in that tool, then run it explicitly.
  4. Reopen Master Workflow for the next stage. Folder entries and choices are remembered; save/load JSON plans for different sessions.

Folder entries are a checklist. They are not automatically transferred into tools. This launcher does not process pixels or create masters by itself.

Save important process parameters as icons before opening a new native interface instance. Tools open with their own settings; the launcher does not control their processing.

Five acquisition profiles

Calibrate filter datasets separately as required, select matching flats and register intended combination masters to a common reference. RGB channel extraction does not automatically isolate Ha/OIII/SII from a filter image; use the existing extraction method appropriate to the camera and filter.

Extract Ha/OIII from L-Ultimate OSC data

New in the signed v0.2.1 development release.

  1. Calibrate, debayer, register and integrate the dual-band sessions. Keep the RGB master linear.
  2. Open Plate solving → ImageSolver and solve the master. Configure local Gaia DR3/SP XPSD spectrum database files in the Gaia process as required by NBExtractPI.
  3. Open OSC narrowband extraction → NBExtractPI. The separately installed tool is detected in its standard location or installed Lighthouse subfolder.
  4. Inside NBExtractPI select the linear plate-solved RGB master, choose Ha / OIII and set both bandwidths to 3 nm for L-Ultimate.
  5. Click Calibrate Mixing Matrix, review the report, then explicitly click Extract Channels. Inspect and save the resulting mono Ha/OIII images.
  6. Supply separately acquired SII data for an SHO combination. Register all intended masters to common geometry and use the existing channel-combination tool.

L-Ultimate passes Ha and OIII; it does not record SII. This uses NBExtractPI's existing extraction model, not plain RGB channel splitting. Our launcher neither selects its target nor runs extraction. NBExtractPI and its Gaia database prerequisites are separately installed.

NBExtractPI credits its method to Franklin Marek / Seti Astro's NBExtract. Its independently maintained PixInsight implementation is not bundled. Optolong L-Ultimate specifications.

Prepare an HDR composition from three masters

Use the HDR Composition section with Short, Medium and Long image selectors. Use linear masters of the same field, registered to a common reference, with different exposure lengths.

  1. Click each Browse... button to choose a single-image XISF or FITS master.
  2. Alternatively, click Auto-detect exposure groups and select one master per exposure length. FITS EXPTIME/EXPOSURE and XISF Instrument:ExposureTime headers populate the slots from shortest to longest. Missing or conflicting exposure metadata, duplicate files, ambiguous groups and anything other than three distinct exposure lengths are rejected. This does not stack individual frames or guess from filenames; use manual selection when headers are absent.
  3. Click Prepare HDRComposition. The helper checks file existence, matching dimensions and channels, exposure order when available, recorded stretch history and coarse image alignment. It asks you to confirm linearity and common-reference registration because metadata and coarse pixel checks cannot prove either, especially subpixel alignment.
  4. Review the three images and the pre-filled native HDRComposition interface. Unchanged open inputs are reused; inputs with unsaved changes are rejected. On cancellation or error, newly opened inputs are closed while existing windows are preserved.
  5. Execute HDRComposition yourself after inspection. Continue with the resulting linear HDR master in Workflow Manager.

Prepared settings

Automatic exposure evaluation enabled; binarizing threshold 0.90; smoothness 7; growth 5; replace large scales 0. Reject black pixels, generate 64-bit HDR and output composition masks are enabled. Previously open images are not automatically closed.

Preparation does not execute image processing. PixInsight 1.9.5 was verified to open the pre-filled interface, so a process-icon fallback is unnecessary on that installation. Synthetic FITS/XISF header reading, preparation, cancellation cleanup and all five dialog profiles passed. Real-image HDR execution and output quality have not been tested.

The existing Integration / masters → HDRComposition → Open tool shortcut also remains available for manual setup.

PixInsight 1.9.6 choices

New choices require PI 1.9.6. Existing saved plans and tool defaults are preserved. Updated WBPP/FBPP and ImageIntegration features are configured in those tools. Opening a tool does not run processing or transfer session-plan paths.

Existing tools, grouped by stage

StageChoices
Batch preprocessingWBPP / FBPP / GPUStacker (separately installed)
CalibrationImageCalibration
Preparation / extractionCosmeticCorrection, Debayer, ChannelExtraction, BatchChannelExtraction
Subframe analysisImageAnalysis (PI 1.9.6)
RegistrationStarAlignment / FFTRegistration / AstrometricRegistration / FeatureRegistration (lunar/daylight)
Integration / mastersImageIntegration / DrizzleIntegration / HDRComposition
Plate solvingImageSolver / BlindSolver
Mosaic preparationSpectrophotometricFluxCalibration / MultiscaleGradientCorrection (PI 1.9.6 batch interfaces)
OSC narrowband extractionNBExtractPI (separately installed)
Channel combinationChannelCombination, LRGBCombination, NBRGBCombination
Diagnostics / logsWBPPLogAnalysis

WBPP/FBPP cover multiple stages. Avoid repeating steps already completed by a batch pipeline. Drizzle needs the appropriate upstream drizzle data. Missing scripts are labeled unavailable.

Validation and credits

All five v0.4.0 native profile dialogs constructed on PI 1.9.6; the rendered dialog was inspected. New installed script paths and signatures checked successfully. Session-plan/catalog checks passed; installed signed scripts were verified. Actual tool dispatch and end-to-end calibration/integration still need qualification. This is a development release.

Processing remains with its original authors: Pleiades Astrophoto and PixInsight tool/script developers. WBPP/FBPP distribution credits include Roberto Sartori, Adam Block, Tommaso Rubechi, Kai Wiechen and Pleiades Astrophoto. Refer to each installed tool for complete credits and licensing. No third-party code or assets are redistributed.

Changelog

Release history, newest first. Historical validation statements describe the checks performed for that release.

v0.4.0 - PixInsight 1.9.6 tool choices

Adds ImageAnalysis, BlindSolver, AstrometricRegistration, FeatureRegistration (lunar/daylight), native SPFC/MGC mosaic-preparation interfaces, and WBPPLogAnalysis. New groups cover subframe analysis, mosaic preparation and diagnostics. These choices require PI 1.9.6; older installations show a clear requirement rather than attempting to launch them. Existing choices and version-1 session plans remain supported.

Updated WBPP/FBPP, ImageSolver, FFTRegistration and ImageIntegration notes explain their new native options. ImageIntegration's biweight combination/standard-property weights and WBPP/FBPP's updated measurements are configured in their own tools; the launcher does not set or run them. No new processing algorithms, automatic processing, vendor assets or vendor-code bundles are added.

The v0.4.0 script and update manifest are signed, and PixInsight verified both signatures as valid for CCDASTRO.

v0.3.2 - GPUStacker batch-processing shortcut

Select Batch preprocessing > GPUStacker and click Open tool. Uses the separately installed src/scripts/GPUStacker.js; missing installations are labeled not installed. Configure its AstroPipeline executable, frames and output in GPUStacker, then start processing there. Session folders remain planning entries. No GPUStacker code or executable is bundled. See the GPUStacker project for installation. The main script and update manifest are signed for CCDASTRO. Native dropdown validation passed; GPUStacker processing itself remains untested.

Existing session plans and WBPP/FBPP choices remain supported.

v0.3.1 - PixInsight 1.9.6 package compatibility

Extends Update Manager eligibility from PI 1.9.5 only to PI 1.9.5–1.9.6. Reuses the byte-identical signed v0.3.0 launcher and local includes; the dialog title intentionally remains 0.3.0. No processing behavior changes. Reinstall through the project repository after a full PI replacement, then rescan src/scripts/CCDASTROMasterWorkflow if the menu is missing. Script and manifest signed.

v0.3.0 - Three-master HDR preparation (signed development release)

Adds short/medium/long XISF/FITS selectors, header-based exposure grouping, input validation and a configured native HDRComposition review step. Existing stacking-tool catalog and dispatch remain unchanged. No HDR processing runs automatically. Existing input windows are preserved; newly opened windows are cleaned up on failure/cancel. Supports auto exposure evaluation, threshold 0.90, smoothness 7, growth 5, zero large-scale replacement, black-pixel rejection, 64-bit result and masks. Linear/registration assessments are heuristic and require user confirmation.

v0.2.1 - HDR Composition shortcut

Adds HDRComposition to Integration / masters. Opens the native PixInsight interface without executing processing. Use registered linear images of the same field at different exposure lengths. Existing session plans remain compatible. PixInsight verified the script and updater-manifest signatures; package checksum and packaged source bytes match. Native PixInsight interface dispatch has not yet been verified.

v0.2.0 - OSC dual-band narrowband extraction shortcut

Adds a dedicated OSC narrowband extraction row for separately installed NBExtractPI, plus ImageSolver for its plate-solving prerequisite. Detects the standard NBExtractPI location and falls back to the installed Lighthouse copy. Existing v0.1.1 session plans remain usable.

The guide covers a linear, debayered, plate-solved L-Ultimate RGB integration, Gaia DR3/SP database setup, Ha/OIII with 3 nm passbands, explicit mixing calibration/extraction and saving the resulting mono masters. SII requires separate data. No new extraction algorithm, vendor source or automatic processing is included.

v0.1.1 - First development release

One launcher for existing tools used to create masters from session datasets. Five acquisition profiles cover mono LRGB/Ha/OIII/SII, OSC, OSC plus dual/multiple narrowband filter sessions, and OSC plus mono narrowband data. Stage dropdowns include WBPP/FBPP, native calibration/preparation, registration, integration and channel-combination interfaces. Optional folder checklists and JSON session plans are remembered separately from processing.

No new processing algorithms and no automatic processing. Tool inputs and settings remain configured in the selected tool. Signed scripts are verified before dispatch; the bundled legacy NBRGBCombination follows normal PixInsight handling. Scripts missing from the standard installation are marked unavailable.

Native V8 layout checks passed for all five profiles; signed installed-script checks and plan/catalog regressions passed. Actual end-to-end calibration/integration and tool dispatch have not been validated on user datasets. This is a development release.