[Paper Review] PyMUSE: a Python package for VLT/MUSE data
PyMUSE is a Python-based open-source package designed for efficient analysis of VLT/MUSE integral field spectroscopy datacubes. It enables flexible 1D spectrum extraction via elliptical, DS9 region, or interactive apertures, supports weighted, summed, or median spaxel combinations, and facilitates image creation using photometric filters, emission-line filters, and masking—enabling systematic photometric and spectroscopic source cataloging when integrated with SExtractor and Redmonster.
This is a companion Focus Demonstration article to the PyMUSE python package, demonstrating its usage and utilities for VLT/MUSE data analysis, that include a wide range of options for spectra extractions, the creation of different types of images, compatibilities with some commonly used software for astronomical data analysis, among others. PyMUSE is an open-source software and can be found on Github for free use and distribution.
Motivation & Objective
- To provide a versatile, open-source tool for systematic analysis of VLT/MUSE integral field spectroscopy datacubes.
- To address the need for flexible and automated 1D spectrum extraction from arbitrary spatial regions within MUSE datacubes.
- To support the creation of photometric and emission-line filtered images for detecting faint sources.
- To enable seamless integration with external astronomical software such as SExtractor and Redmonster for source detection and redshift classification.
- To streamline the workflow from datacube to spectroscopic and photometric catalog by combining multiple analysis steps in a single package.
Proposed method
- Uses DS9 region files as input to define apertures for 1D spectrum extraction, supporting elliptical, polygonal, or user-defined shapes.
- Applies multiple spaxel combination methods: sum, median, mean, or weighted sum using brightness profiles (e.g., white image or Gaussian) or inverse variance.
- Generates filtered images by convolving the MUSE datacube with standard photometric filters (e.g., SDSS, Johnson) or custom user-defined filters.
- Applies emission-line filtering at user-defined redshifts to enhance detection of faint, low-continuum sources.
- Supports image smoothing and masking via DS9 region files to isolate or refine source regions.
- Integrates with SExtractor for automated source detection in filtered or white images, and with Redmonster for redshift measurement via χ² minimization against theoretical templates.
Experimental results
Research questions
- RQ1How can 1D spectra be efficiently extracted from arbitrary spatial regions in MUSE datacubes using flexible aperture definitions?
- RQ2What are the most effective spaxel combination strategies for enhancing signal-to-noise in extracted spectra?
- RQ3How can photometric and emission-line filtered images improve the detection of faint, low-continuum sources in MUSE data?
- RQ4To what extent can PyMUSE streamline the workflow from datacube to spectroscopic and photometric source cataloging when interfaced with SExtractor and Redmonster?
- RQ5Can a Python-based tool like PyMUSE provide a reliable, extensible, and user-friendly alternative to existing MUSE analysis packages?
Key findings
- PyMUSE enables 1D spectrum extraction using multiple aperture types, including DS9 regions and elliptical parameters, with real-time visualization in the PyMUSE interface.
- Weighted sum methods based on the MUSE white image or Gaussian profiles significantly improve signal-to-noise in extracted spectra compared to simple sum or mean.
- Emission-line filtering at various redshifts successfully enhances detection of faint star-forming galaxies not visible in the white image.
- The integration with SExtractor allows for automated source detection and catalog generation from filtered or white images, enabling simultaneous photometric and spectroscopic analysis.
- Redmonster outputs for PyMUSE-extracted spectra confirm accurate redshift measurements and source classification, validating the pipeline's reliability.
- PyMUSE is compatible with major astronomical software (DS9, SExtractor, Redmonster) and is distributed via GitHub, supporting community contributions and open development.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.