| NIPY_TSDIFFANA(1) | User Commands | NIPY_TSDIFFANA(1) |
nipy_tsdiffana - Analyze, plot time series difference metrics
usage: nipy_tsdiffana [-h] [--out-file OUT_FILE] [--write-results]
nipy_tsdiffana runs the time series diference algorithm over a 4D image volume, often and FMRI volume.
It works in one of three modes:
* interactive : the time series difference plot appears on screen. This is the
* non-interactive, plot only : write time series difference plot to graphic
* non-interactive, write plot, images and variables : write plot to file, and
Write-results option, generated files -------------------------------------
When doing the time point analysis, we will make a difference volume between each time point and the next time point in the series. If we have T volumes then there will be (T-1) difference volumes. Call the vector of difference volumes DV and the first difference volume DV[0]. So DV[0] results from subtraction of the second volume in the 4D input image from the first volume in the 4D input image. The element-wise squared values from DV[0] is *DV2[0]*.
The following images will be generated. <ext> is the input filename extension (e.g. '.nii'):
* "dv2_max_<label><ext>" : 3D image volume, where each slice S is slice from
* "dv2_mean_<label><ext>" : the mean of all DV2 volumes DV2[0] .. DV[T-1]
We also write the mean signal at each time point, and the mean squared difference between each slice in time, as variables to a 'npz' file named "tsdiff_<label>.npz"
The filenames for the outputs are of the form <out-path>/<some_prefix><label><file-ext> where <out-path> is the path specified by the --out-path option, or the path of the input filename; <some_prefix> is one of the standard prefixes above, <label> is given by --out-label, or by the filename of the input image (with path and extension removed), and <file-ext> is '.png' for graphics, or the extension of the input filename for volume images. For example, specifying only the input filename ``/some/path/fname.img`` will generate filenames of the form ``/some/path/tsdiff_fname.png, /some/path/dv2_max_fname.img`` etc.
| January 2019 | nipy_tsdiffana 0.4.2 |