MPDAF 2.2 documentation!

Date:January 24, 2017

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 now 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 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 is compatible with Python 2.7 and 3.3+.

Links :

Reporting Issues

If you have found a bug in MPDAF please report it.

The preferred way is to create a new issue on the MPDAF gitlab issue page . This requires creating a account on git-cral if you don’t have one. To create an account, please send email to

Sub-packages status

The currently existing sub-packages are:

sub-packages description status
mpdaf.obj Interface for spectra, images and cubes Stable
mpdaf.drs Interface for the MUSE raw file and pixel table Stable
mpdaf.sdetect Source: Creates single-source FITS files Dev
Catalog: Creates source catalogs Dev
MUSELET: MUSE Line Emission Tracker Stable
mpdaf.MUSE slicer: MUSE slicer numbering scheme Stable
PSF: MUSE PSF models Dev

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