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

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 λ 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 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 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.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…