McFine: python-based Monte-Carlo multi-component hyperfine structure fitting
Abstract
Modelling complex line emission in the interstellar medium (ISM) is a degenerate, high-dimensional problem. Here, we present McFine, a tool for automated multi-component fitting of emission lines with complex hyperfine structure, in a fully automated way. We use Markov chain Monte Carlo (MCMC) to efficiently explore the complex parameter space, allowing for characterising model denegeracies. This tool allows for both local thermodynamic equilibrium (LTE) and radiative-transfer (RT) models. McFine can fit individual spectra and data cubes, and for cubes encourage spatial coherence between neighbouring pixels. It is also built to fit the minimum number of distinct components, to avoid overfitting. We have carried out tests on synthetic spectra, where in around 90~per~cent of cases it fits the correct number of components, otherwise slightly fewer components. Typically, is overestimated and underestimated, but accurate within the estimated uncertainties. The velocity and line widths are recovered with extremely high accuracy, however. We verify McFine by applying to a large Atacama Large Millimeter/submillimeter Array (ALMA) NH mosaic of an high-mass star forming region, G316.75-00.00. We find a similar quality of fit to our synthetic tests, aside from in the active regions forming O-stars, where the assumptions of Gaussian line profiles or LTE may break down. To show the general applicability of this code, we fit CO(J = 2-1) observations of NGC 3627, a nearby star-forming galaxy, again obtaining excellent fit quality. McFine provides a fully automated way to analyse rich datasets from interferometric observations, is open source, and pip-installable.
Keywords
Cite
@article{arxiv.2409.03835,
title = {McFine: python-based Monte-Carlo multi-component hyperfine structure fitting},
author = {Thomas G. Williams and Elizabeth J. Watkins},
journal= {arXiv preprint arXiv:2409.03835},
year = {2024}
}
Comments
15 pages, 2 Appendices, 22 Figures (7 in Appendices), 1 Table. Accepted to MNRAS