PySME. Spectroscopy Made Easier
Abstract
Context. The characterization of exoplanets requires the reliable determination of the fundamental parameters of their host stars. Spectral fitting plays an important role in this process. For the majority of stellar parameters, matching synthetic spectra to the observations provides a robust and unique solution for the fundamental parameters, such as effective temperature, surface gravity, abundances, radial and rotational velocities, among others.
Aims: Here, we present a new software package for fitting high-resolution stellar spectra that is easy to use, available for common platforms, and free from commercial licenses. We call it PySME. It is based on the proven Spectroscopy Made Easy package, later referred to as IDL SME or "original" SME.
Methods: The IDL (Interactive Data Language) part of the original SME code has been rewritten in Python, but we kept the efficient C++ and FORTRAN code responsible for molecular-ionization equilibrium, opacities, and spectral synthesis. In the process we updated some components of the optimization procedure to offer more flexibility and better analysis of the convergence. The result is a more modern package with the same functionality as the original SME.
Results: We applied PySME to a few stars of different spectral types and compared the derived fundamental parameters with the results from IDL SME and other techniques. We show that PySME works at least as well as the original SME.
- Publication:
-
Astronomy and Astrophysics
- Pub Date:
- March 2023
- DOI:
- 10.1051/0004-6361/202244482
- arXiv:
- arXiv:2210.04755
- Bibcode:
- 2023A&A...671A.171W
- Keywords:
-
- techniques: spectroscopic;
- methods: data analysis;
- methods: numerical;
- stars: fundamental parameters;
- stars: solar-type;
- Astrophysics - Solar and Stellar Astrophysics;
- Astrophysics - Earth and Planetary Astrophysics;
- Astrophysics - Instrumentation and Methods for Astrophysics
- E-Print:
- 23 pages, 13 figures, code is available on https://github.com/AWehrhahn/SME