Figure: Simulated MRI images.
This tutorial is intended to walk through users who wish to install BART on Windows and use it with Matlab. The README always has the most up-to-date instructions.
These instructions were last tested with bart: version 0.9.00 (2023)
Note: The software is intended for research use only and NOT FOR DIAGNOSTIC USE. It comes without any warranty (see LICENSE for details).
Overview:
sudo apt-get update
sudo apt-get install gcc make libfftw3-dev liblapacke-dev libpng-dev libopenblas-dev gfortran git
cd ~
git clone --branch v0.9.00 https://github.com/mrirecon/bart
cd bart
make
export BART_TOOLBOX_PATH="${HOME}/bart"
export PATH="${BART_TOOLBOX_PATH}:${PATH}"
export PYTHONPATH="${BART_TOOLBOX_PATH}/python:${PYTHONPATH}"
sudo ln -s ${BART_TOOLBOX_PATH}/bart /usr/local/bin/bart
make
export BART_TOOLBOX_PATH="${HOME}/bart"
export PATH="${BART_TOOLBOX_PATH}:${PATH}"
export PYTHONPATH="${BART_TOOLBOX_PATH}/python:${PYTHONPATH}"
sudo ln -s ${BART_TOOLBOX_PATH}/bart /usr/local/bin/bart
>> test_bart
TEST [Write cfl file] - running "writecfl(file, data)" >> Passed
TEST [Read cfl file] - running "readcfl(file)" >> Passed
TEST [Data consistency cfl file] >> Passed
TEST [Wrapper (without parameter)] - running "bart" >> Passed
TEST [Wrapper (method help)] - running "bart traj -h" >> Passed
TEST [Wrapper (No input, no parameter)] - running "bart('phantom')" >> Passed
TEST [Wrapper (No input, no parameter) - check output] >> Passed
TEST [Wrapper (No input)] - running "bart('phantom -3')" >> Passed
TEST [Wrapper (No input) - check output)] >> Passed
TEST [Wrapper (One input, one parameter)] - running "bart('fft -u 3', varargin{1})" >> Passed
TEST [Wrapper (One input, one parameter) - check output)] >> Passed