BartIO.jl is a Julia package in order to interact with the Berkeley Advanced Reconstruction Toolbox (BART).
This package offers the possibility to :
- read and write cfl/hdr files used by the BART Toolbox
- Call BART command (required to install the BART toolbox
To load BART data (stored in a .cfl and a .hdr header file), simply call readcfl(filename)
, where filename
can be either be without a filename extension, or it can include .cfl
or .hdr
.
To write BART compatible files, call writecfl(filename, x)
, where filename
can be either be without a filename extension, or it can include .cfl
or .hdr
.
Requirements
- The BART toolbox need to be compiled.
Usage
bart = wrapper_bart(path2bartFolder)
bart(0,"version")
k_phan = bart(0,"phantom -x64 -k")
If you need help for the function you can either use :
bart(0,"pics -h")