STEPARSYN: A Bayesian code to infer stellar atmospheric parameters using spectral synthesis

Tabernero, H. M.; Marfil, E.; Montes, D.; González Hernández, J. I.
Bibliographical reference

Astronomy and Astrophysics

Advertised on:
Number of authors
IAC number of authors
Refereed citations
Context. STEPARSYN is an automatic code written in Python 3.X designed to infer the stellar atmospheric parameters Teff, log g, and [Fe/H] of FGKM-type stars following the spectral synthesis method.
Aims: We present a description of the STEPARSYN code and test its performance against a sample of late-type stars that were observed with the HERMES spectrograph mounted at the 1.2-m Mercator Telescope. This sample contains 35 late-type targets with well-known stellar parameters determined independently from spectroscopy. The code is available to the astronomical community in a GitHub repository.
Methods: STEPARSYN uses a Markov chain Monte Carlo sampler to explore the parameter space by comparing synthetic model spectra generated on the fly to the observations. The synthetic spectra are generated with an spectral emulator.
Results: We computed Teff, log g, and [Fe/H] for our sample stars and discussed the performance of the code. We calculated an internal scatter for these targets of −12 ± 117 K in Teff, 0.04 ± 0.14 dex in log g, and 0.05 ± 0.09 dex in [Fe/H]. In addition, we find that the log g values obtained with STEPARSYN are consistent with the trigonometric surface gravities to the 0.1 dex level. Finally, STEPARSYN can compute stellar parameters that are accurate down to 50 K, 0.1 dex, and 0.05 dex for Teff, log g, and [Fe/H] for stars with v sin i ≤ 30 km s−1.

Full Table A.5 is only available at the CDS via anonymous ftp to ( or via

Based on observations made with the Mercator Telescope, operated on the island of La Palma by the Flemish Community, at the Spanish Observatorio del Roque de los Muchachos of the Instituto de Astrofísica de Canarias.
Related projects
Project Image
Observational Tests of the Processes of Nucleosynthesis in the Universe

Several spectroscopic analyses of stars with planets have recently been carried out. One of the most remarkable results is that planet-harbouring stars are on average more metal-rich than solar-type disc stars. Two main explanations have been suggested to link this metallicity excess with the presence of planets. The first of these, the “self