Munipack¶
Munipack is a command-line package for reducing astronomical images, from raw frames to calibrated magnitudes. Each step stores its results as FITS extensions in the frame itself, so the next step simply reads what the previous one wrote.
This is a fork of upstream Munipack 0.6.2 with many bug fixes and a few new features; see Differences from upstream. The easiest way to run it is the Docker image:
docker build -t munipack:0.6.2-hg1653-fixes .
docker run --rm -u $(id -u):$(id -g) -v "$PWD":/data munipack:0.6.2-hg1653-fixes find frame.fits
New here? Start with Installation and then the Quick start. The tutorials then walk through whole tasks step by step: a single image from raw frame to calibrated magnitudes, a time series ending in a light curve, and stacking and colour images.
What you can do¶
Calibrate frames – make master frames with bias, dark and flat, and apply them with phcorr.
Find stars with find.
Measure brightness – aperture (aphot), PSF (psfphot) or growth-curve (gphot) photometry.
Calibrate positions – match stars to a catalogue and fit the WCS with astrometry.
Calibrate magnitudes – zero point, colour terms and physical fluxes with phcal; instrument transformations with phfotran.
Stack and colour – stacks and mosaics with kombine, colour images with colouring.
Simulate frames – realistic test frames from a catalogue with artificial.
Use catalogues – download (cone), resolve names (sesame), convert (votable) and cross-match (cross).
Handle files – inspect and edit FITS files (fits) and make light curves (timeseries).
Routines¶
Every routine is run as munipack <routine> [options] file(s), and each has
its own page in the sidebar. The ones used in everyday work are under
Routines; the less common ones (instrument transformations, name lookup,
catalogue conversion and cross-matching, FITS utilities) are under Other
routines. For the option list on your own machine, run
munipack <routine> --help.
munipack on its own takes three options: --version prints the version and
licence, -h/--help lists the routines, and --verbose makes the routine
report its progress. A routine exits with status 0 on success and 1 on an
error, with the reason printed to stderr, so it is easy to use in scripts.
Getting started
User guide
Routines