SPAN: A cross-platform Python GUI software for optical and near-infrared spectral analysis
arXiv:2508.01923 · doi:10.1016/j.ascom.2025.101051
Abstract
The increasing availability of high-quality optical and near-infrared spectroscopic data, as well as advances in modelling techniques, have greatly expanded the scientific potential of spectroscopic studies. However, the software tools needed to fully exploit this potential often remain fragmented across multiple specialised packages, requiring scripting skills and manual integration to handle complex workflows. In this paper we present SPAN (SPectral ANalysis), a cross-platform, Python-based Graphical User Interface (GUI) software that unifies the essential tools for modern spectral analysis within a single, user-friendly environment. While SPAN can be used with a variety of spectroscopic targets, its primary focus is the analysis of unresolved galaxy spectra. SPAN allows users to extract 1D spectra from FITS images and datacubes, perform spectral processing (e.g. Doppler correction, continuum modelling, denoising), and carry out detailed analyses, including line-strength measurements, stellar and gas kinematics, and stellar population studies, using both built-in routines and the widely adopted pPXF algorithm for full spectral fitting. It runs natively on Windows, Linux, macOS, and Android, and is fully task-driven, requiring no prior coding experience. We validate SPAN by comparing its output with existing pipelines and literature studies. By offering a flexible, accessible, and well integrated environment, SPAN simplifies and accelerates the spectral analysis workflow, while maintaining scientific accuracy.
33 pages, 16 figures. Published on Astronomy and Computing
References in corpus (55)
- SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
- Array Programming with NumPy
- Astropy: A Community Python Package for Astronomy
- The Astropy Project: Building an inclusive, open-science project and status of the v2.0 core package
- Parametric Recovery of Line-of-Sight Velocity Distributions from Absorption-Line Spectra of Galaxies via Penalized Likelihood
- Improving the full spectrum fitting method: accurate convolution with Gauss-Hermite functions
- Adaptive spatial binning of integral-field spectroscopic data using Voronoi tessellations
- Stellar population models of Lick indices with variable element abundance ratios
- Inferring the star-formation histories of massive quiescent galaxies with BAGPIPES: Evidence for multiple quenching mechanisms
- An updated MILES stellar library and stellar population models
- The Infrared Telescope Facility (IRTF) Spectral Library: Cool Stars
- Stellar Population Inference with Prospector
- UV-extended E-MILES stellar population models: young components in massive early-type galaxies
- The Atlas3D Project - XXX. Star formation histories and stellar population scaling relations of early-type galaxies
- ULySS: A Full Spectrum Fitting Package
- The MUSE Hubble Ultra Deep Field Survey: I. Survey description, data reduction and source detection
- Empirical calibration of the near-IR Ca II triplet - I. The stellar library and index definition
- Population Synthesis in the Blue IV: Accurate Model Predictions for Lick Indices and UBV Colors in Single Stellar Populations
- Full spectrum fitting with photometry in pPXF: stellar population versus dynamical masses, non-parametric star formation history and metallicity for 3200 LEGA-C galaxies at redshift z~0.8
- Stellar Content from high resolution galactic spectra via Maximum A Posteriori
- CALIFA, the Calar Alto Legacy Integral Field Area survey: IV. Third Public data release
- Spatially resolved spectroscopy of Coma cluster early -- type galaxies: III. The stellar population gradients
- Recovering galaxy star formation and metallicity histories from spectra using VESPA
- Flux-calibrated stellar population models of Lick absorption-line indices with variable element abundance ratios
- Firefly (Fitting IteRativEly For Likelihood analYsis): a full spectral fitting code
- An Application of Deep Neural Networks in the Analysis of Stellar Spectra
- Time Inference with MUSE in Extragalactic Rings (TIMER): Properties of the Survey and High-Level Data Products
- Stellar populations and star formation histories of the nuclear star clusters in six nearby galaxies
- Kinematic signatures of nuclear discs and bar-driven secular evolution in nearby galaxies of the MUSE TIMER project
- The Extended IRTF Spectral Library: Expanded coverage in metallicity, temperature, and surface gravity
- The GIST Pipeline: A Multi-Purpose Tool for the Analysis and Visualisation of (Integral-field) Spectroscopic Data
- pyspeckit: A spectroscopic analysis and plotting package
- P-MaNGA: Full spectral fitting and stellar population maps from prototype observations
- The inside-out formation of nuclear discs and the absence of old central spheroids in barred galaxies of the TIMER survey
- Fitting Analysis using Differential Evolution Optimization (FADO): Spectral population synthesis through genetic optimization under self-consistency boundary conditions
- pyFIT3D and pyPipe3D -- The new version of the Integral Field Spectroscopy data analysis pipeline
- Stellar Populations of Bulges in 14 Cluster Disc Galaxies
- PyMorph: Automated Galaxy Structural Parameter Estimation using Python
- Stellar atmospheric parameters for 754 spectra from the X-shooter Spectral Library
- Modelling simple stellar populations in the near-ultraviolet to near-infrared with the X-shooter Spectral Library (XSL)
- The Infrared Telescope Facility (IRTF) spectral library: spectral diagnostics for cool stars
- Structure and dynamics of galaxies with a low surface-brightness disc - II. Stellar populations of bulges
- Resolved stellar population properties of PHANGS-MUSE galaxies
- Stellar populations in the bulges of isolated galaxies
- Optical/NIR stellar absorption and emission-line indices from luminous infrared galaxies
- Kinetys II: Constraints on spatial variations of the stellar initial mass function from K-band spectroscopy
- Early-type galaxies in the near-infrared: 1.5-2.4\mum spectroscopy
- sMILES SSPs: A Library of Semi-Empirical MILES Stellar Population Models with Variable [/Fe] Abundances
- Stellar Populations With Optical Spectra: Deep Learning vs. Popular Spectrum Fitting Codes
- The GAPS Programme at TNG -- XXV. Stellar atmospheric parameters and chemical composition through GIARPS optical and near-infrared spectra
- Automated SpectroPhotometric Image REDuction (ASPIRED)
- Infrared Telescope Facility (IRTF) spectral library II: New indices in Y, J, H, and L atmospheric windows
- PACCE: Perl Algorithm to Compute Continuum and Equivalent Widths
- GalaPy, the highly optimised C++/Python spectral modelling tool for galaxies -- I. Library presentation and photometric fitting
- Near-infrared spectroscopic indices for unresolved stellar populations. II. Index measurements