Astro Processing · Workflow maps

From sky to screen: the whole pipeline

This is how a new object travels from the raw-image download to the finished picture on this site. Each box is a work step and the lines show what comes from what. Hover over a box to highlight what is needed before it and what depends on it; a click opens the description of the step.

These are my own programs, which not everybody has. The page shows my way of working, it is not an installation guide. Three tabs above: new object, change an existing object, replace an object completely.

  1. Capture Step 1 of 13

    Capture at the telescope

    Tool: Remote telescope, own setup

    Everything starts with raw data: lights and calibration data (darks, flats, dark flats). Depending on the target a different setup is used: telescope, camera and filters. The setup gets an ID, here WAA = SetupR1 and GSOC = SetupR2.

    The technical data sits in the FITS headers of the frames and is read out by the scripts later, I do not type it in.

    Input
    The target and the setup it is captured with.
    Output
    Lights and calibration data as FITS or XISF.
    Notes
    The key of an object is always catalogue number plus setup ID. The same object on another setup is a separate object with its own ID in the file name. WAA delivers only finished, pre-calibrated masters and no dark flats.
    Needed before
    Starting point
    Feeds into
    RAW import (raw data)
  2. Scriptself-made Step 2 of 13

    RAW import

    Tool: AoP Astro RAW Photo Import Manager

    The program presorts the raw data of an object so that PixInsight only has to calibrate, register and stack. It reads headers only, moves (does not copy) the lights per filter into their own folders and keeps calibration data, masters and rejects apart. A visual check with auto-stretch follows: whatever I untick goes to the rejects.

    There is deliberately no quality check here, PixInsight does that later with the SubframeSelector.

    Input
    The folder with the raw data of the object (FITS, XISF or camera RAW).
    Output
    Sorted lights per filter, calibration data, masters, rejects and an import report as Markdown and JSON file.
    Notes
    The night of a frame is the start of the night (local time minus 12 hours). Empty or truncated files and identical copies go to their own reject folders so nothing is stacked twice. Nothing is deleted, “Undo” restores the last sorting including the original names. The setups are read from Notion, nothing is ever written there.
    Needed before
    Capture at the telescope (raw data)
    Feeds into
    Calibrate (lights, calibration data)
  3. Processing Step 3 of 13

    Calibrate

    Tool: PixInsight, checklist script

    With the calibration data (master dark, master flat, dark flat if needed) all lights are calibrated and hot pixels corrected. WAA delivers finished masters that do not have to be rebuilt.

    The processing is accompanied by the checklist script: it shows my PixInsight steps as a clickable list and reads the capture data from real FITS headers instead of a typed description. Progress is stored per object.

    Input
    The sorted lights and the calibration data.
    Output
    Calibrated lights.
    Needed before
    RAW import (lights, calibration data)
    Feeds into
    Check drizzle suitability (lights), Register and stack (calibrated lights)
  4. Scriptself-made Step 4 of 13

    Check drizzle suitability

    Tool: AoP Drizzle Advisor (PixInsight script)

    Before registration the Drizzle Advisor answers one question: is 2× drizzle worth it? It runs inside PixInsight on the calibrated lights, measures a sample per filter and compares the star width (FWHM) with the pixel scale.

    Input
    The calibrated lights.
    Output
    A verdict per filter on whether drizzle pays off.
    Notes
    Pixel scale in arcseconds per pixel = 206.265 × pixel size (µm) ÷ focal length (mm). Below 2.5 pixels per FWHM drizzle pays off, between 2.5 and 3 it is borderline and worth a test, above that it does not. At least 15 well-dithered frames are required.
    Needed before
    Calibrate (lights)
    Feeds into
    Register and stack (drizzle yes/no)
  5. Processing Step 5 of 13

    Register and stack

    Tool: PixInsight

    The calibrated frames are graded by quality, aligned, normalised and integrated into one stack per filter. This raises the signal-to-noise ratio considerably. Depending on the verdict of the Drizzle Advisor, drizzle is applied. The exact order is shown in the map “Image processing: the order in PixInsight”.

    At the end I solve one image with the ImageSolver (plate solving) and save it. The exact sky coordinates for the image analysis and the sky map on the object page come from it later.

    Input
    The calibrated lights and the drizzle verdict.
    Output
    One stack per filter, plus the registered single frames.
    Notes
    Whether drizzle was used is recorded by the scripts (stacking “normal” or “drizzled 2×”); the object page shows it in the capture tile.
    Needed before
    Calibrate (calibrated lights), Check drizzle suitability (drizzle yes/no)
    Feeds into
    Image processing (stacks), Image analysis and report (stacks, FWHM)
  6. Processing Step 6 of 13

    Image processing

    Tool: PixInsight and Photoshop

    Removing gradients, calibrating colour, sharpening, denoising, stretching and treating stars and nebulae separately all happen in PixInsight. The final touches follow in Photoshop. The result is the finished image at full resolution, in several colour compositions depending on the object.

    For labelling, the variants “annotated” (labels in the picture) and “annotated_Overlay” (labels only, transparent) are created as well.

    Input
    The stacks from PixInsight.
    Output
    The finished image per colour composition as TIFF.
    Notes
    LRGB, LRGBHa, LRGBHOO and so on are genuine colour images. A leading “LUM-” means colourless luminance taken from the colour image and is grey on purpose.
    Needed before
    Register and stack (stacks)
    Feeds into
    Export in several sizes (finished image)
  7. Scriptself-made Step 7 of 13

    Export in several sizes

    Tool: AoP Export MultiSize (Photoshop)

    My Photoshop script creates all the sizes I need from the finished image in a single run: INS (1300 pixels), FB (2048), WEB (4096) and ORG. It can export several open images in one run, with a separate crop per image. It chooses the format itself: PNG for overlays or transparency, otherwise JPEG.

    The file names follow a fixed scheme, and the script suggests the object name from existing files.

    Input
    The finished image from Photoshop.
    Output
    One file per size in two target folders: the web folder and the Lightroom export folder.
    Notes
    File name: catalogue number, object name, optional crop, colour composition, optional variant, revision and extra marker, then setup ID and size, for example IC1284_NebelImSchuetzen_LRGB_SetupR1 (plus the size, such as WEB4096px). The object name is the German name without spaces, a focal length is no longer part of the name. For “annotated” the source composition comes first (…_LRGB_annotated_…).
    Needed before
    Image processing (finished image)
    Feeds into
    Image analysis and report (JPEG copies), AoP AstroPhoto importer, AoP WebPublisher (web)
  8. Analysis Step 8 of 13

    Image analysis and report

    Tool: AoP image analysis with Claude

    A hybrid of measurement and judgement. My script measures deterministically: star width per frame and in the stack, star shape per raw sub, background gradient, clipping, contrast of the labels, moon and nights, calibration and the plate solution. Claude judges in a separate chat from the measurements and the images, and the script builds the report from that.

    Input
    The stacks, the finished images and the headers of the raw data.
    Output
    The report as Markdown and HTML, plus the measurement data.
    Notes
    The plate solution uses the same routine as the publisher later, so the numbers in the report match the website. The report is visible to signed-in users only.
    Needed before
    Register and stack (stacks, FWHM), Export in several sizes (JPEG copies)
    Feeds into
    AoP AstroPhoto importer (report)
  9. Import Step 9 of 13

    AoP AstroPhoto importer

    Tool: Notion, Lightroom, Web

    The importer scans the folder with the exported images, assigns them to known objects or creates new cards in Notion and fills in the data. A file with the capture data (exposure, gain, cooling, calibration, stacking) is created from the FITS headers. It places the image and the cover image in Notion, attaches the report to the object and writes XMP metadata plus a sidecar into the image files.

    What it cannot assign with certainty it does not guess: it asks.

    Input
    The exported images, the report and the raw-data headers.
    Output
    Cards in Notion, metadata in the image files and the capture data for the website.
    Notes
    Every run has a log with an undo button. The importer also reads the log and the report of the RAW import to cross-check file names and frames.
    Needed before
    Image analysis and report (report), Export in several sizes
    Feeds into
    Notion as master (cards, images), Archive in Lightroom (metadata)
  10. Notion Step 10 of 13

    Notion as master

    Tool: Database and release

    Notion is the source of truth for texts and data, the files live on disk. The archive has three levels: the compact tile per object, the object page with report and texts, and the cards of the individual colour compositions. This is also where it is decided what gets published.

    Input
    Cards and files from the importer, my texts and observation notes.
    Output
    The released entries for the publisher.
    Notes
    I create the compact tile of a new object myself from a template. Nothing is ever deleted in Notion, outdated items are only marked “🗑️ LÖSCHEN”.
    Needed before
    AoP AstroPhoto importer (cards, images)
    Feeds into
    AoP WebPublisher (released)
  11. Archive Step 11 of 13

    Archive in Lightroom

    Tool: Catalogue, sync, plugin

    Lightroom is the archive of the finished images. I read in the metadata the importer wrote into the files: synchronise the folder, then run the command of my “Astro Info” plugin. That makes object, equipment and capture data searchable in the catalogue.

    Input
    The image files with XMP metadata.
    Output
    A searchable catalogue.
    Notes
    Synchronising remains a manual step in Lightroom. The metadata belongs in the web folder; the Lightroom export folder is only attached there for management.
    Needed before
    AoP AstroPhoto importer (metadata)
    Feeds into
    End point
  12. Publishing Step 12 of 13

    AoP WebPublisher

    Tool: Check, upload, import

    The publisher leads step by step through publication. It reads the released entries from Notion, checks them for completeness, builds a data bundle and the web sizes (WebP) including the logo from them, uploads everything via FTPES and has the server import the data into the database. A dry run on the server precedes the actual import.

    For a new object the route “New project on the website” applies. It reads image sources from the web folder only.

    Input
    The released Notion entries and the web sizes of the images.
    Output
    The published objects in the website database.
    Notes
    Every import can be undone. The server checks size and SHA-256 checksum of the files before importing.
    Needed before
    Notion as master (released), Export in several sizes (web)
    Feeds into
    artofpix.at (upload)
  13. Website Step 13 of 13

    artofpix.at

    Tool: This website

    The site shows images, capture data, sky map and statistics. Texts, menu and these workflow maps can be edited in a private admin area. At the end I look at the object page before I count the step as done.

    Input
    The imported data and images.
    Output
    The object page.
    Needed before
    AoP WebPublisher (upload)
    Feeds into
    End point

← Back to overview