Usage: 3dPolyfit [options] dataset Fits a polynomial in space to the dataset and outputs that.
Options:
-nord n = Maximum polynomial order (0..9) [default order=3]
-blur f = Gaussian blur (inside mask) with FWHM=’f’ (mm)
- -mrad r = Radius (voxels) of preliminary median filter
- [default is no blurring of either type; you can] [do both types (Gaussian and median), but why??] [N.B.: median blur is much slower than Gaussian]
-prefix pp = Use ‘pp’ for prefix of output dataset (the fit).
-resid rr = Use ‘rr’ for the prefix of the residual dataset.
-automask = Create a mask (a la 3dAutomask)
-mask mset = Create a mask from nonzero voxels in ‘mset’.
-mone = Scale the mean value of the fit (inside the mask) to 1.
- -mclip = Clip values outside the box containing the mask
- to the edge of the box, to avoid weird artifacts.
- -meth mm = Set ‘mm’ to 2 for least squares fit;
- set it to 1 for L1 fit [default method=2]
- [Note that L1 fitting is much slower than L2 fitting!]
- -base bb = In addition to the polynomial fit, also use
- the volumes in dataset ‘bb’ as extra basis functions.
- [If you use a base dataset, then you can set] [nord to -1, to skip using a polynomial fit.]
-verb = Print fun and useful progress reports :-)
– Dec 2010 - RWCox - beats workin’ for a living
++ Compile date = Dec 16 2015
Enter search terms or a module, class or function name.