English

NutMaat: A Python package for stellar spectral classification on the MK system

Solar and Stellar Astrophysics 2025-08-19 v2 Astrophysics of Galaxies Instrumentation and Methods for Astrophysics

Abstract

Stellar spectral classification according to the Morgan-Keenan (MK) system remains fundamental to astrophysical studies, yet modern surveys require automated, scalable tools. We present NutMaat, an open-source Python-based package inspired by MKCLASS, designed to automate MK classification while addressing scalability and usability limitations. It employs modern computational tools for batch processing and offers a modular architecture that enables efficient, platform-independent analysis of large spectral datasets. It also includes modules for detecting classical chemically peculiar stars, such as Am, Ap, and λ\lambda Boo types, using internal consistency checks between different line diagnostics. Tested on the CFLIB and MILES libraries, NutMaat achieved spectral and luminosity classification accuracies comparable to MKCLASS, with minimal systematic offsets and a robust performance down to S/N \le 10. NutMaat successfully identified chemically peculiar stars, tested on LAMOST DR7 ACV variables, and processed the SDSS-IV MaStar library -- which lacks native MK classifications -- to produce a stellar catalog, demonstrating survey readiness. Future development of NutMaat will focus on extending wavelength coverage beyond the 3800--5600 A˚\r{A} range, computational acceleration via Cython, and refining peculiarity classification. Beyond its technical design, NutMaat can provide consistent, MK-standard classification across large-scale spectroscopic surveys, facilitating reliable stellar population analyses, identification of rare objects, and the construction of high-quality spectral catalogs essential for galactic archaeology and stellar evolution studies. As an open-source tool, NutMaat bridges traditional MK methods with modern data workflows, offering a scalable solution for current and future spectroscopic surveys.

Keywords

Cite

@article{arxiv.2501.17698,
  title  = {NutMaat: A Python package for stellar spectral classification on the MK system},
  author = {R. I. El-Kholy and Z. M. Hayman},
  journal= {arXiv preprint arXiv:2501.17698},
  year   = {2025}
}

Comments

10 pages, 5 figures, 3 tables, comments are welcome!

R2 v1 2026-06-28T21:23:56.164Z