<tt>easyspec</tt>: An Open-source Python Package for Long-slit Spectroscopy

Abstract In modern-day astronomy, near-infrared, optical, and ultraviolet spectroscopy are indispensable for studying a wide range of phenomena, from measuring black hole masses to analyzing chemical abundances in stellar atmospheres. However, spectroscopic data reduction is often performed using instrument-specific pipelines or legacy software well-established and robust within the community that are often challenging to implement and script in modern astrophysical workflows. In this work, we introduce easyspec, a new Python package designed for long-slit spectroscopy, capable of reducing, extracting, and analyzing spectra from a wide range of instruments—provided they deliver raw FITS files, the standard format for most optical telescopes worldwide. This package is built upon the well-established long-slit spectroscopy routines of the Image Reduction and Analysis Facility (IRAF), integrating modern coding techniques and advanced fitting algorithms based on Markov chain Monte Carlo simulations. We present a user-friendly open-source Python package that can be easily incorporated into customized pipelines for more complex analyses. To validate its capabilities, we apply easyspec to the active galactic nucleus G4Jy 1709, observed with the DOLORES spectrograph at the Telescopio Nazionale Galileo, measuring its redshift and estimating its supermassive black hole mass. Finally, we compare our results with a previous IRAF-based study.

Authors

Institutions

Publication Details

Journal
The Astronomical Journal
Published
2025-08-18
DOI
https://doi.org/10.3847/1538-3881/adf220
Primary Topic
Gamma-ray bursts and supernovae
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

<tt>easyspec</tt>: An Open-source Python Package for Long-slit Spectroscopy

F. Massaro, H. A. Peña-Herazo, Raniere de Menezes, C. M. Raiteri et al.
1 links
The Astronomical Journal
Gamma-ray bursts and supernovae
article

<tt>easyspec</tt>: An Open-source Python Package for Long-slit Spectroscopy

F. Massaro, H. A. Peña-Herazo, Raniere de Menezes, C. M. Raiteri, Michela Negro, J. A. Acosta‐Pulido
article en

Abstract

Abstract In modern-day astronomy, near-infrared, optical, and ultraviolet spectroscopy are indispensable for studying a wide range of phenomena, from measuring black hole masses to analyzing chemical abundances in stellar atmospheres. However, spectroscopic data reduction is often performed using instrument-specific pipelines or legacy software well-established and robust within the community that are often challenging to implement and script in modern astrophysical workflows. In this work, we introduce easyspec, a new Python package designed for long-slit spectroscopy, capable of reducing, extracting, and analyzing spectra from a wide range of instruments—provided they deliver raw FITS files, the standard format for most optical telescopes worldwide. This package is built upon the well-established long-slit spectroscopy routines of the Image Reduction and Analysis Facility (IRAF), integrating modern coding techniques and advanced fitting algorithms based on Markov chain Monte Carlo simulations. We present a user-friendly open-source Python package that can be easily incorporated into customized pipelines for more complex analyses. To validate its capabilities, we apply easyspec to the active galactic nucleus G4Jy 1709, observed with the DOLORES spectrograph at the Telescopio Nazionale Galileo, measuring its redshift and estimating its supermassive black hole mass. Finally, we compare our results with a previous IRAF-based study.

The Astronomical JournalVol. 170(3)
Louisiana State University (US), Universidad de La Laguna (ES), Istituto Nazionale di Fisica Nucleare, Sezione di Torino (IT), Osservatorio Astrofisico di Torino (IT), East Asian Observatory (US), Centro Brasileiro de Pesquisas Físicas (BR), Instituto de Astrofísica de Canarias (ES), Consorzio Interuniversitario Fisica Spaziale (IT), University of Turin (IT)
Openalex Percentile: Top 85%
Gamma-ray bursts and supernovae
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.