montage-wrapper

A Python wrapper for the IPAC Montage mosaicking software


The montage-wrapper module (formerly python-montage) is an Astropy affiliated package that provides a way to run the Montage Astronomical Image Mosaic Engine from Python, including both functions to access individual Montage commands, and high-level functions to facilitate mosaicking and reprojecting. Once the IPAC Montage software is installed, installing the Python wrapper is straightforward:

pip install montage-wrapper

Once installed, using the Montage wrapper is simple - any Montage command has a Python function equivalent:

>>> import montage_wrapper as montage
>>> montage.mArchiveList('2MASS', 'K', 'm31', 0.5, 0.5, 'm31.tbl')
count : 18
stat : OK

and there are also convenience functions provided, for example a function to run the mosaicking process from start to end:

>>> montage.mosaic('raw_tiles', 'final_mosaic')

The documentation contains more details on installing and using the module.

To report bugs and request features, please use the issue tracker. To contact me directly, please use thomas dot robitaille [at] gmail dot com.

To follow the development and get a copy of the latest development code, visit the GitHub pages.