<scp>capivara</scp>: a spectral-based segmentation method for IFU data cubes
ABSTRACT We present capivara, a fast and scalable spectral-based segmentation package designed to study astrophysical properties within distinct structural components of galaxies. This spectro-segmentation code for integral field unit (IFU) data provides a holistic view of galactic structure, moving beyond conventional radial gradients and the bulge-plus-disc dichotomy. It enables detailed comparisons of stellar ages and metallicities across components, and naturally identifies outliers by grouping spaxels according to dominant spectral features. The algorithm leverages Torch’s scalability and GPU acceleration, outputting a masked FITS file that assigns each pixel to its respective group and generates the corresponding one-dimensional spectrum per group, without relying on Voronoi binning. We demonstrate the capabilities of the method using a sample of MaNGA galaxies, combining capivara segmentation with the starlight spectral fitting code to derive stellar population and ionized gas properties. The method effectively identifies regions with similar spectral properties across both continuum and emission lines. By aggregating the spectra of these regions, we enhance the signal-to-noise ratio of the analysis while preserving the spectral coherence within each group. capivara is released under an MIT license and is available at .
Authors
- Ana L. Chies-Santos (ORCID: https://orcid.org/0000-0003-3220-0165)
- Renhao Ye (ORCID: https://orcid.org/0000-0002-2339-5581)
- Rafael S. de Souza (ORCID: https://orcid.org/0000-0001-7207-4584)
- Shiyin Shen (ORCID: https://orcid.org/0000-0002-3073-5871)
- P. T. Rahna
- Rogério Riffel (ORCID: https://orcid.org/0000-0002-1321-1320)
- P. Coelho (ORCID: https://orcid.org/0000-0003-1846-4826)
- L G Dahmer-Hahn (ORCID: https://orcid.org/0000-0003-1586-2378)
- Behzad Tahmasebzadeh (ORCID: https://orcid.org/0000-0002-1584-2281)
- Mi Chen (ORCID: https://orcid.org/0009-0006-4205-6450)
Institutions
- University of North Carolina at Chapel Hill (US)
- Universidade Federal do Rio Grande do Sul (BR)
- University of Hertfordshire (GB)
- University of Michigan (US)
- Shanghai Astronomical Observatory (CN)
- Centro de Estudios de Física del Cosmos de Aragón (ES)
Publication Details
- Journal
- Monthly Notices of the Royal Astronomical Society
- Published
- 2025-04-26
- DOI
- https://doi.org/10.1093/mnras/staf688
- Primary Topic
- Embedded Systems Design Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Fundação de Amparo à Pesquisa do Estado de São Paulo
- National Natural Science Foundation of China
- Conselho Nacional de Desenvolvimento Científico e Tecnológico
- Fundação de Amparo à Pesquisa do Estado do Rio Grande do Sul