MPDAF 3.5 documentation!

MPDAF, the MUSE Python Data Analysis Framework, is an open-source (BSD licensed) Python package, developed and maintained by CRAL and partially funded by the ERC advanced grant 339659-MUSICOS (see Authors and Credits for more details). It has been developed and used in the MUSE Consortium for several years, and is available freely for the community.

It provides tools to work with MUSE-specific data (raw data, pixel tables, etc.), and with more general data like spectra, images and data cubes. Although its main use is to work with MUSE data, it is also possible to use it with other data, for example HST images.

MPDAF also provides MUSELET, a SExtractor-based tool to detect emission lines in a datacube, and a format to gather all the information on a source in one FITS file.

Bug reports, comments, and help with development are very welcome.

MPDAF 3.0 requires Python 3.5 or later. It is the first version that supports only Python 3. Older versions can be installed for users that still need Python 2.

Reporting Issues

If you have found a bug in MPDAF please create an issue on Github.


MPDAF can be cited with the ASCL reference (ADS, BibTeX), and was also presented at ADASS XXVI, for which the proceedings is on the arXiv (ADS, BibTeX).

Sub-packages status

The currently existing sub-packages are:





Interface for spectra, images and cubes



Interface for the MUSE raw file and pixel table



Source: Creates single-source FITS files


Catalog: Creates source catalogs


MUSELET: MUSE Line Emission Tracker



slicer: MUSE slicer numbering scheme


PSF: MUSE PSF models


Where Dev means Actively developed, so be prepared for potentially significant changes, and Stable means Reasonably stable, so any significant changes or additions will generally be backwards-compatible.

Indices and tables