A Python-based web tool to simulate atomic optical emission spectra

Main Article Content

O. Rosales-Martínez
https://orcid.org/0000-0002-6889-6355
Allan A. Flores-Fuentes
https://orcid.org/0000-0002-6233-1708
R. Peña-Eguiluz
https://orcid.org/0000-0003-3965-8312
A. Mercado-Cabrera
https://orcid.org/0000-0001-7450-0014
E. E. Granda-Guitérrez
https://orcid.org/0000-0002-9316-9627
J. F. García-Mejía

Abstract

Optical emission spectroscopy (OES) is an experimental technique for analyzing, diagnosing, and characterizing atomic and molecular species in physics and chemistry. In this work, an interactive web tool is designed to simulate atomic OES from which users can generate synthetic data from optical emission spectra at a wavelength range from 390 to 700 nm with any reported energy level. The reference data for eighty-three elements was retrieved from the National Institute of Standards and Technology (NIST) using web scraping techniques. The web tool incorporates key parameters such as wavelength step size (λ), full width at half maximum (FWHM), and emission source temperature (T). The proposed method for generating spectra consists of preprocessing, calculation, and plotting of the data using Python,    Pandas, NumPy, and Matplotlib, respectively. Finally, the interactive user interface, built with the open-source Python framework Streamlit, displays changes in spectral plots generated from input data and updates live, supporting zoom, serving as a valuable resource for researchers and students in the field of OES.

Article Details

How to Cite
Rosales-Martínez, O., Flores-Fuentes, A. A., Peña-Eguiluz, R., Mercado-Cabrera, A., Granda-Guitérrez, E. E., & García-Mejía, J. F. (2026). A Python-based web tool to simulate atomic optical emission spectra. Journal of Applied Research and Technology, 24(1), 42–52. https://doi.org/10.22201/icat.24486736e.2026.24.1.2892
Section
Articles
Author Biographies

O. Rosales-Martínez, Universidad Autónoma del Estado de México, Centro Universitario Tianguistenco, Santiago Tianguistenco, México, MX 52640.

Research Department

R. Peña-Eguiluz, Instituto Nacional de Investigaciones Nucleares, Plasma Physics Laboratory, Carretera México-Toluca s/n, La Marquesa, Ocoyoacac, México, MX 52750.

Research, Plasma Physics Laboratory

A. Mercado-Cabrera, Instituto Nacional de Investigaciones Nucleares, Plasma Physics Laboratory, Carretera México-Toluca s/n, La Marquesa, Ocoyoacac, México, MX 52750.

Research, Plasma Physics Laboratory

E. E. Granda-Guitérrez, Universidad Autónoma del Estado de México, Centro Universitario Atlacomulco Km. 60 Carretera Toluca-Atlacomulco, 50450, Atlacomulco, México, MX 50450.

Researcher

J. F. García-Mejía, Universidad Autónoma del Estado de México, Centro Universitario Atlacomulco Km. 60 Carretera Toluca-Atlacomulco, 50450, Atlacomulco, México, MX 50450.

Research

Most read articles by the same author(s)