QMRITools`IVIMTools`
QMRITools`IVIMTools`

BayesianIVIMFit3

BayesianIVIMFit3[data, bval, init, mask] performs bayesian IVIM fit of data. data is the data which should be {slice, Ndiff, x, y}. bval is the bvector whould be length Ndiff. init is the initalization of the bayesian fit which comes from IVIMCalC, (without S0 using 3 compartments). mask is the region in which the bayesian fit is performed. output is {f1, f2, dc, pdc1, pdc2}. The fractions f1 and f2 are defined between 0 and 1, the dc, pdc1 and pdc1 is in mm^2/s.

Details