Recent Changes - Search:

Homepage

This is the old Camino website, please visit our new page to download the code and get the latest documentation.









UCL MIG Home

UCL CS Home

UCL Home

edit SideBar

Man /

Trd

Content-type: text/html Manpage of trd

trd

Section: User Commands (1)
Index Return to Main Contents

 

NAME

trd - Computes the trace of tensors.

 

SYNOPSIS

trd [-inputmodel <dt|twotensor|threetensor|multitensor>]

 

DESCRIPTION

Reads diffusion tensor (single, two-tensor or three-tensor) data from the standard input, computes the trace of each tensor, i.e., three times the mean diffusivity, and outputs the results to the standard output. For multiple-tensor data the program outputs the trace of each tensor, so for three-tensor data, for example, the output contains three values per voxel.

Divide the output by three to get the mean diffusivity.

 

EXAMPLES

Compute Tr(D) in each voxel of diffusion MRI data set SubjectA.Bfloat and store the output in TrD_A.Bdouble:

dtfit SubjectA.Bfloat test/A.scheme | trd > TrD_A.Bdouble

Compute Tr(D) for each component of the two-tensor fit to the same data set:

twotenfit SubjectA.Bfloat test/A.scheme | trd -inputmodel twotensor > TrD_A.Bdouble

Compute Tr(D) for 10000 independent trials of fitting the diffusion tensor to data synthesized from test function 1 (see datasynth(1)) using imaging scheme A.scheme and assuming signal to noise ratio of 16 at b=0:

datasynth -testfunc 1 -voxels 10000 -snr 16 -schemefile A.scheme | dtfit - A.scheme | trd > TrD_A_SNR16.Bdouble

 

OPTIONS

-inputmodel <model type>
Specifies the model that the input data contains parameters for. Possible model types are: "dt" (diffusion-tensor data), "twotensor" (two-tensor data), "threetensor" (three-tensor data). By default, the program assumes that the input data contains a single diffusion tensor in each voxel.

-inputdatatype <data type of input>
Specifies the data type of the input file. The data type can be any of the following strings: "char", "short", "int", "long", "float" or "double".

-outputdatatype <data type of output>
Specifies the data type of the output data. The data type can be any of the following strings: "char", "short", "int", "long", "float" or "double". See camino(1).

 

AUTHORS

Daniel Alexander <camino@cs.ucl.ac.uk>

 

SEE ALSO

md(1), fa(1), dtpds(1), dtfit(1), twotenfit(1), threetenfit(1), modelfit(1).

 

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
OPTIONS
AUTHORS
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 02:07:11 GMT, December 04, 2017

Edit - History - Print - Recent Changes - Search
Page last modified on October 26, 2009, at 03:07 PM