public class StandardTestFunctions
extends java.lang.Object
Constructor and Description |
---|
StandardTestFunctions() |
Modifier and Type | Method and Description |
---|---|
static ModelPDF |
getFunction(int index)
Returns the indexed test function rotated by the indexed rotation, with
specified mixing parameters and scaling factor on the diffusion tensors.
|
static RealMatrix |
getRotationMatrix()
returns the rotation matrix transform
|
static void |
reset()
Resets all the functions' components to the defaults.
|
static void |
setDT2RotationAngle(double angle)
Sets the dt2 rotation angle.
|
static void |
setLambda1(double newLambda1)
Sets the largest eigenvalue of the prolate diffusion tensors.
|
static void |
setMix3(double m1)
Sets the mixing parameters for function 3.
|
static void |
setMix4(double m1,
double m2)
Sets the mixing parameters for function 4.
|
static void |
setScale(double scale)
Sets the scaling factor.
|
static void |
setTraceD(double newTrace)
Sets the trace of the components diffusion tensors.
|
static void |
setTransformation(RealMatrix transformation)
Sets the transformation.
|
public static ModelPDF getFunction(int index)
index
- Test function index.public static void reset()
public static void setScale(double scale)
scale
- The scaling factor.public static void setDT2RotationAngle(double angle)
scale
- The new rotation angle.public static void setTraceD(double newTrace)
newTrace
- The new trace.public static void setLambda1(double newLambda1)
newLambda1
- The new largest eigenvalue.public static void setMix3(double m1)
m1
- The mixing parameter for the first component.public static void setMix4(double m1, double m2)
m1
- The mixing parameter for the first component.m2
- The mixing parameter for the second component.public static void setTransformation(RealMatrix transformation)
transformation
- The new transformation.public static RealMatrix getRotationMatrix()