API reference#

Public names are re-exported from the top-level package (import multicolorfits as mcf), matching the historical flat namespace. Grouped by topic below; each page lists functions and classes with signatures pulled from the source.

Every v2.x name (greyRGBize_image, saveRGBfits, reproject2D, …) still works as a silent alias for its renamed v3 counterpart; the full old-to-new table is in Migrating from v2, and the mapping is importable as mcf.LEGACY_ALIASES.

Getting oriented

mcf.overview() / mcf.recipes() and the generated llms.txt corpus.

Getting oriented
Color pipeline

to_grey_rgb, colorize_image, combine_multicolor, stretching helpers.

Color pipeline
Compositing

Lab / HSV / HSL, RYB / CMYK, backgrounds, combine_colorized_layers, swatches.

Compositing
WCS & FITS

McfHeader, squeeze/crop, coordinates, reprojection helpers.

WCS & FITS
Session

McfSession, PanelState, ComposeState, save/load, export script.

Session
Figures

Combined WCS figures, component mosaics, bare/publication styling.

Figures
Palettes

Curated palettes, hue patterns, color-vision checks.

Palettes
Overlays

Optional compass / beam / scale bar ([overlays] / skyplothelper).

Overlays
High-level pipeline

combine_layers, combine_from_files, save_combined, stack align.

High-level pipeline
GUIs

gui, gui_qt, gui_embed, notebook helpers.

GUIs