VoigtFit: A Python package for Voigt profile fitting
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 $\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.
- Publication:
-
arXiv e-prints
- Pub Date:
- March 2018
- DOI:
- 10.48550/arXiv.1803.01187
- arXiv:
- arXiv:1803.01187
- Bibcode:
- 2018arXiv180301187K
- Keywords:
-
- Astrophysics - Instrumentation and Methods for Astrophysics
- E-Print:
- The code is available on https://github.com/jkrogager/VoigtFit