public class MultiTensorInversion extends DiffusionInversion
ModelIndex
Constructor and Description |
---|
MultiTensorInversion(DW_Scheme imParams,
java.lang.String voxClassFile,
ModelIndex[][] modelIndices,
int maxComponents)
This constructor requires the details of the sequence, the name
of the file containing the voxel classification and the list of
indices of the inverters.
|
Modifier and Type | Method and Description |
---|---|
void |
background()
Need to read off one item from the voxel classification when a
background voxel is found.
|
double[] |
invert(double[] data)
Fits the model.
|
int |
itemsPerVoxel()
Specifies the number of elements of the output array from the inversion.
|
close
public MultiTensorInversion(DW_Scheme imParams, java.lang.String voxClassFile, ModelIndex[][] modelIndices, int maxComponents)
imParams
- The imaging sequence parameters.voxClassFile
- The name of the file containing the voxel classification.modelIndices
- Indices of the models for each level of classification.maxComponents
- The maximum number of output components in each voxel.public double[] invert(double[] data)
invert
in class DiffusionInversion
data
- The MRI data.public void background()
background
in class DiffusionInversion
public int itemsPerVoxel()
DiffusionInversion
itemsPerVoxel
in class DiffusionInversion