public class LinearInversion extends DiffusionInversion
Constructor and Description |
---|
LinearInversion(DW_Scheme imParams,
java.lang.String matrixFile,
boolean norm,
boolean log)
The constructor requires the details of the sequence used to generate the
data that will be processed and the name of the file containing the
linear transformation matrix.
|
Modifier and Type | Method and Description |
---|---|
RealMatrix |
getMatrix()
Returns the linear inversion matrix.
|
double[] |
invert(double[] data)
Fits the diffusion tensor using the inverse matrix.
|
int |
itemsPerVoxel()
Returns the length of the arrays returned by invert.
|
background, close
public LinearInversion(DW_Scheme imParams, java.lang.String matrixFile, boolean norm, boolean log)
imParams
- The imaging sequence parameters.public double[] invert(double[] data)
invert
in class DiffusionInversion
data
- The MRI data.public int itemsPerVoxel()
itemsPerVoxel
in class DiffusionInversion
public RealMatrix getMatrix()