The program performs a pre-coloring of the raw data, i.e. it applies a temporal
Gaussian smoothing with a user-specified kernel width given by the
parameter '-fwhm' (full width at half maximum).
The smoothing imposes a temporal autocorrelation that determines the degrees of freedom.
The program yields a beta-map as output.
To obtain a statistical parametric map, the program 'vgetcontrast' must be applied to the beta-map.
Example 1:
vgendesign -in design.txt -out design.v -tr 2 -ntimesteps 648 -deriv 0
vcolorglm -in ntbsm_data.v -design design.v -out beta.v
vgetcontrast -in beta.v -con 1 -1 0 -out zmap.v -type zmap
This sequence of program calls first generates a design matrix from a text file containing
the design specification. It then computes a beta-map, and finally it computes a zmap of a
given contrast.
Example 2:
vgendesign -in design1.txt -out design1.v -tr 2 -ntimesteps 648 -deriv 0
vgendesign -in design2.txt -out design2.v -tr 2 -ntimesteps 648 -deriv 0
vcatdesign -in design1.v design2.v -out design.v
vcolorglm -in ntbsm_session1.v ntbsm_session2.v -design design.v -out beta.v
vgetcontrast -in beta.v -con 1 -1 0 1 -1 0 -out zmap.v -type zmap
This sequence of program calls first generates two design matrices from two text files containing
design specifications of two sessions. These two design matrices are then concatenated by 'vcatdesign'
to allow for a fixed-effects analysis across sessions.
It then computes a beta-map using two fMRI data files, and finally it
computes a zmap of a given contrast.
The parameter '-minval' can be used to exclude voxels (e.g. voxels outside the brain) from the analysis. That is, voxels with values below 'minval' in their signal will be excluded from processing. An appropriate 'minval' depends on the scanner used. In order to perform a correct smoothness estimation, voxels outside the brain must be excluded from the analysis by using an appropriate 'minval' parameter.
'vbrainmask' can be used after 'vgetcontrast' to exlude voxels outside the brain for visualization.