Skip to content

Lunation 2.0.0 - standalone

Latest

Choose a tag to compare

@dmead dmead released this 18 Jul 02:37
· 4 commits to main since this release

The complete lunar lucky-imaging pipeline as a plain Python package — no PixInsight, no Node. This is the finish line of the port started at M0: every stage of the old PJSR/PixInsight pipeline now runs standalone, validated better-than-parity against the PI baselines on real sessions.

Install

uv tool install lunation          # CLI
uv tool install 'lunation[gui]'   # + desktop GUI

ffmpeg on PATH is needed for avi2ser and the mp4 encode.

What's inside

  • Full pipeline: SER decode → frame quality ranking → sub-pixel registration (gradient-preconditioned phase correlation) → drizzle stacking → finishing chain (RL deconvolution, starlet wavelets, LRGB) → phase-ordered lunation animation (mp4 + gif).
  • One-command orchestration: lunation run <root> drives the whole DAG (stack → finish → gif → encode) with log-sentinel verdicts, watchdogs, and live-adjustable concurrency that suspends/resumes whole job trees.
  • Desktop GUI (lunation gui): scan capture folders, review nights in phase order with per-row optics and drizzle derivation, and get an auto-assembled aligned preview — one frame per night, disk-centered and rotation-registered like the final animation, playable like PixInsight Blink. Progress for everything, and the output folder opens when a run completes.
  • Run-portable configs: each GUI run stores its generated configuration with the output in a lunation_<id> directory (the PIPP/AutoStakkert model); hand-tuned configs always win.
  • avi2ser: repackage AVI captures as SER, losslessly.
  • Artifact contracts (_stack.{xisf,log,json}, sentinels, config schemas) are unchanged from the PixInsight-era pipeline, so both can coexist on the same output tree.

113 tests, synthetic-only — no captures needed to develop against it.