dMRI-Lab 1.0
|
Functions | |
function | micro2atti (in shfile, in lparfile, in lperpfile, in ffile, in gifile, in bifile, in attifile, in varargin) |
function micro2atti | ( | in | shfile, |
in | lparfile, | ||
in | lperpfile, | ||
in | ffile, | ||
in | gifile, | ||
in | bifile, | ||
in | attifile, | ||
in | varargin ) |
Reconstructs the attenuation signal E(q) (without the free water compartment) provided a microstructure model described by lpar and lperp and an ODF described by its SH coefficients. E(q) is evaluated at a multi-shell sampling with directions gi and b-values bi.
shfile | A string specifying the file containing the SH coefficients of the ODF at each voxel up to order L. Should be computed with micro2shodf. |
lparfile | A string specifying the file containing the parallel diffusivity at each voxel, estimated with atti2micro. |
lperpfile | A string specifying the file containing the traverse diffusivity at each voxel, estimated with atti2micro. |
ffile | A string specifying the file containing the partial volume fraction of intra-cellular water (should fulfill 0<=f<=1). If an empty array is passed, then f=1 for all voxels is assumed, so that ones(M,N,P) has the same effect as []. |
gifile | A string specifying the file containing the gradients table, each row must be a unit-norm direction. |
bfile | A string specifying the file containing the b-values describing a multi-shell sampling. This means bi should have few unique values (typically 2 to 4): length(unique(bi)) << length(bi). |
attifile | A string specifying the file to save the attenuation signal. |
varargin | Optional arguments passed as -name value pairs (e.g. -ADC0 3.0e-3). |
Mandatory Inputs:
Optional Arguments:
Examples: