Learn R Programming

fslr (version 2.24.1)

eddy: Eddy Current Correction

Description

This function calls eddy from FSL for DTI Processing

Usage

eddy(infile, mask, acq_file, index_file, bvecs, bvals, outfile = NULL,
  retimg = TRUE, opts = "", verbose = TRUE, ...)

Arguments

infile

input filename of 4D image.

mask

Mask filename (or class nifti)

acq_file

A text-file describing the acquisition parameters for the different images in infile The format of this file is identical to that used by topup (though the parameter is called --datain there).

index_file

A text-file that determines the relationship between on the one hand the images in infile and on the other hand the acquisition parameters in acq_file.

bvecs

A text file with normalised vectors describing the direction of the diffusion weighting.

bvals

A text file with b-values describing the "amount of" diffusion weighting

outfile

Output file basename

retimg

(logical) return image of class nifti

opts

Additional options to pass to arguments passed to eddy

verbose

print diagnostic messages

...

Not currently used

Value

Result from system command currently