dti (version 1.5.4)

subsetg: Create an objects of class "dtiData" containing only a subset of gradient directions.

Description

This function creates an object of class "dtiData" that containes only a subset, defined by an index vector, of the S0 and diffusion weighted images. This function may e.g. be used to separate information measured on different shells.

Usage

subsetg(x, ind)

Value

An object of class "dtiData".

Arguments

x

Object of class "dtiData"

ind

Indexvector containing values between 1 and x@ngrad.

Author

Karsten Tabelow tabelow@wias-berlin.de
J\"org Polzehl polzehl@wias-berlin.de

See Also

dtiData, readDWIdata, dtiData, combineDWIdata