designer.preprocessing.rician.rician_correct(dwi, noisemap)

Smooths a DWI dataset

Parameters
  • dwi ((X x Y x Z x N) img_like object) – Image to be corrected, where N is the number of volumes in the DWI acquisition.

  • csfmask ((X x Y x Z x N) img_like object) – The noise map from dwidenoise

  • width (float, optional) – The full width half max in voxels to be smoothed. Default: 1.25

Returns

corrected – The rician-corrected version of dwi

Return type

(X x Y x Z x N) array_like or img_like object

designer.preprocessing.rician.rician_img_correct(dwiname, noisemapname, outpath=None)

Performs Rician correction on a dataset with a noisemap

Parameters
  • dwiname (str) – Filename of image to be corrected

  • noisemapname (str) – Filename of noisemap to use for correction

  • outpath (str) – Path to put resulting file

Return type

None; writes out file

See also

rician_correct, noise