Installing McFine

Requirements

McFine requires:

  • astropy

  • emcee

  • lmfit

  • numdifftools

  • numpy

  • scipy

  • threadpoolctl

  • tqdm

The RT mode requires:

  • ndradex (install from GitHub, git+https://github.com/astropenguin/ndradex.git)

The plotting requires:

  • corner

  • matplotlib

Although not a requirement, each fit takes around 1 minute. So, if you’re fitting a big cube, it is highly recommended to run on a cluster. McFine uses the python multiprocessing library to speed up the fitting as much as possible.

Installation

  • McFine is pip installable:

pip install mcfine

Or if you want to also use the RT capabilities:

pip install mcfine[rt]
  • Alternatively, you can install from the GitHub repository:

cd install_dir
git clone https://github.com/thomaswilliamsastro/mcfine
pip install -e .