Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1021 Bytes

gradunwarp_installation.md

File metadata and controls

33 lines (21 loc) · 1021 Bytes

How to install gradunwarp

We recommend that you do not follow the default installation instructions for gradunwarp, due to the reasons outlined here.

Instead, we provide our own set of steps to help make the installation process smoother.

  1. Install the dependencies of gradunwarp
pip install numpy scipy nibabel
  1. Download and extract the latest release of gradunwarp

  2. Navigate to the extracted folder, then install gradunwarp

cd gradunwarp-1.2.0/
python setup.py install --prefix="~/.local"
  1. Update your $PATH to include the installation location
# For bash users
echo "export PATH=$PATH:~/.local/bin" >> ~/.bashrc

# For zsh users
echo "export PATH=$PATH:~/.local/bin" >> ~/.zshrc
  1. You're done! The command gradient_unwarp.py should now be available in your terminal after restarting the terminal.