High-level pipeline#

One-shot helpers for scripts that skip the GUI / session model.

combine_layers

Stretch, colorize, and combine a list of 2D arrays into one RGB image.

combine_from_files

Load FITS files, optionally align them to a common grid, then combine.

save_combined

Save a combined RGB image to FITS, optionally annotating the header with multicolorfits provenance (version, timestamp, layer colors/scales).

align_stack

High-level alignment: pick a master header, reproject every layer onto it, return [(data, hdr), ...] ready for the color pipeline.

reproject_stack_to_header

Reproject every (data, header) pair onto a single target header.

reproject_stack_to_reference

Reproject all images onto the grid of a reference layer.

downsample_for_preview

Downsample a 2D or RGB image so its longest side is at most max_size.