NestFit Logo

Bayesian Line Fitting

Welcome to the NestFit documentation! NestFit is a Bayesian framework for model fitting spectral line data containing single or multiple velocity components. The site index is located in the sidebar on the left where installation instructions, a quick-start guide, and the API documentation are provided.

Help and Contributing

If you run into an issue, please report it on the issue tracker and I am happy to assist. If you would like general help, please also feel free to contact me at the gmail address brian.e.svoboda+nestfit.

Contributions are also very welcome. The package is implemented in a mix of Python and Cython, and is released under the MIT license. The latest development version can be found here. Feel free to contact me, open an issue for discussion, or create a pull request.

Citing this project

If you make use of NestFit in an academic work, please cite the forth-coming publication that will be listed here (Svoboda in prep.) as well as the publications for MultiNest (Feroz & Hobson 2008; Feroz, Hobson, & Bridges 2009). Please also consider citing the relevant publications for the library dependencies used in this project: astropy, cython, h5py, matplotlib, numpy/scipy, pyspeckit, and spectral_cube.

License

NestFit is copyrighted by Brian Svoboda (2020) and released under the MIT license. A copy is supplied in the LICENSE file included with the software.

This software makes use of the ammonia model code found in PySpecKit by Adam Ginsburg & Jordan Mirocha and contributors. The Python implementation in PySpecKit was originally based on the IDL program nh3fit (source) by Erik Rosolowsky, described in Rosolowsky et al. (2008).

The implementation of the fast exponential function is taken from the LIME radiative transfer code developed by Christian Brinch and the LIME development team. These modified files (fastexp.h, fastexp.c) are licensed under the GNU GPL v3.