McFine: A tool for hyperfine spectral line fitting

https://img.shields.io/pypi/v/mcfine.svg?label=PyPI&style=flat-square https://img.shields.io/pypi/pyversions/mcfine.svg?label=Python&color=yellow&style=flat-square https://img.shields.io/github/actions/workflow/status/thomaswilliamsastro/mcfine/test_build.yml?branch=main https://readthedocs.org/projects/mcfine/badge/?version=latest&style=flat-square https://img.shields.io/badge/license-GNUv3-blue.svg?label=License&style=flat-square

Much of radio astronomy is using magic to turn line intensities into gas conditions. Magic because many molecules are complicated, and there are often multiple distinct components down the line of sight. McFine attempts to do this wizardry in a fully automated, Bayesian way so you can turn your spectra into science without too much hassle.

McFine uses an iterative approach, fitting and comparing increasingly complex models until it deems them sufficiently complicated. It does this through the Bayesian Information Criterion, and specifically the change in this metric between models. If given a data cube, it can also use the neighbouring information to attempt a better fit. For more details about the philosophy and maths of McFine, have a read of Williams & Watkins (in prep.). It’s quite short!

Developers

This package has been developed by:

  • Thomas Williams (Oxford)

  • Elizabeth Watkins (Manchester)

Citing McFine

If you use McFine in your work, please drop us a citation (Williams & Watkins, in prep.), and provide a footnote to the package repository (https://github.com/thomaswilliamsastro/mcfine).

Indices and tables