polyfitim
Description:
Fit a spatial template to a 3D or 4D NIFTI file.
Inputs:
A 3D or 4D NIFTI file, with mask, to be fit A 3D or 4D template file, with mask, to fit to the data file (a spatial EV)
Outputs:
NIFTI files of the polynomial fit of the template and residuals to the data to the specified order Text files giving the coefficients of the fit, and the R values
Usage:
Fit a spatial template to a 3D or 4D NIFTI file.
usage: polyfitim [-h] [--regionatlas ATLASFILE] [--order ORDER]
datafile datamask templatefile templatemask outputroot
Positional Arguments
- datafile
The name of the 3 or 4 dimensional nifti file to fit.
- datamask
The name of the 3 or 4 dimensional nifti file valid voxel mask (must match datafile).
- templatefile
The name of the 3D nifti template file (must match datafile).
- templatemask
The name of the 3D nifti template mask (must match datafile).
- outputroot
The root name for all output files.
Named Arguments
- --regionatlas
Do individual fits to every region in ATLASFILE (3D NIFTI file).
- --order
Perform fit to ORDERth order (default (and minimum) is 1)
Default: 1