Installing uvcombine

Requirements

This package has the following dependencies:

  • Python 3.10 or later

  • Numpy 2.0 or later

  • Astropy 6.1 or later

  • matplotlib 3.5 or later

  • reproject 0.13 or later

  • spectral-cube 0.6.7 or later

  • radio-beam 0.3.10 or later

  • tqdm

Optional dependencies

  • statsmodels: provides a standard error estimate for the scale factor from uvcombine.scale_factor.find_scale_factor with method='distrib'. Without statsmodels, the scale factor is still fit but its standard error is returned as 0.

To install uvcombine with the optional dependencies:

pip install "uvcombine[stats]"

Installation

To install the latest stable release, you can type:

pip install uvcombine

You can download the latest tar file from PyPI and install it using:

pip install -e .

Developer version

If you want to install the latest developer version of the uvcombine code, you can do so from the git repository:

git clone https://github.com/radio-astro-tools/uvcombine.git
cd uvcombine
pip install -e .

You may need to add the --user option to the last line if you do not have root access. You can also install the latest developer version in a single line with pip:

pip install git+https://github.com/radio-astro-tools/uvcombine.git