Installation

conda-forge

To install pgure-svt in a conda environment (Linux and MacOS only - Windows coming soon) from conda-forge:

conda install pgure-svt -c conda-forge

Building from source

Dependencies

To build from source, PGURE-SVT requires the following packages and libraries to be installed on your machine first.

When installing the Armadillo linear algebra library, it is recommended that you also install a high-speed BLAS replacement such as OpenBLAS or MKL; more information can be found in the Armadillo documentation.

Python

Once you have installed the dependencies listed above, you can build the Python package from source:

git clone https://github.com/tjof2/pgure-svt.git
cd pgure-svt
pip install -e .

Standalone executable

The standalone PGURE-SVT executable has been tested on Ubuntu 12.04+. You can use CMake to compile and install PGURE-SVT.

To install the PGURE-SVT executable into /usr/bin, use:

git clone https://github.com/tjof2/pgure-svt.git
cd pgure-svt
mkdir build
cd build
cmake ..
make
sudo make install

To change the install location, replace the last three lines with:

cmake -DCMAKE_INSTALL_PREFIX=/path/to/install ..
make
sudo make install

Note

For OSX users, you may need to use the GCC compiler rather than the default.