English

VoigtFit: A Python package for Voigt profile fitting

Instrumentation and Methods for Astrophysics 2018-03-06 v1

Abstract

I present a Python package developed for fitting Voigt profiles to absorption lines. The software fits multiple components for various atomic lines simultaneously allowing parameters to be tied and fixed. Moreover, the code is able to automatically fit a polynomial continuum model together with the line profiles. Lastly, a physical model can readily be used to constrain thermal and turbulent broadening of absorption lines as well as implementing molecular excitation models. The code can be run with interactive features such as manual continuum placement locally around each line, manual masking of undesired fitting regions, and interactive definition of velocity components for various elements. This greatly improves the ease by which the initial guesses can be estimated. Since the code is written in pure Python, it can easily be scripted and modified to fit the user's needs. The code uses a χ2\chi^2 minimization approach to find the best solution. The code and a set of test-data together with the full documentation is available on GitHub.

Keywords

Cite

@article{arxiv.1803.01187,
  title  = {VoigtFit: A Python package for Voigt profile fitting},
  author = {Jens-Kristian Krogager},
  journal= {arXiv preprint arXiv:1803.01187},
  year   = {2018}
}

Comments

The code is available on https://github.com/jkrogager/VoigtFit

R2 v1 2026-06-23T00:40:54.609Z