public class SphFuncPICoCalibrationData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Vector3D |
DT1_E1 |
static double |
DT1_E1_PHI |
static double |
DT1_E1_THETA |
static Vector3D |
DT1_E2 |
static double |
DT1_E2_PHI |
static double |
DT1_E2_THETA |
static Vector3D |
DT1_E3 |
static double |
DT1_E3_PHI |
static double |
DT1_E3_THETA |
static Vector3D |
DT2_E1 |
static double |
DT2_E1_PHI |
static double |
DT2_E1_THETA |
static Vector3D |
DT2_E2 |
static double |
DT2_E2_PHI |
static double |
DT2_E2_THETA |
static Vector3D |
DT2_E3 |
static double |
DT2_E3_PHI |
static double |
DT2_E3_THETA |
static double |
trace |
Constructor and Description |
---|
SphFuncPICoCalibrationData() |
Modifier and Type | Method and Description |
---|---|
static double[] |
eigenvalues(double fa,
double t)
Calculates eigenvalues of prolate DT with specified FA and trace.
|
static DT[] |
getOneTensorBlock(double[] fa,
java.util.Random rotationRan) |
static DT[][] |
getTwoTensorBlock(double[] fa,
double[] mix,
double dt2RotAngle,
java.util.Random rotationRan)
Compute two tensors over a range of anisotropy, with a fixed crossing angle.
|
static void |
main(java.lang.String[] args) |
public static final double DT1_E1_THETA
public static final double DT1_E1_PHI
public static final double DT1_E2_THETA
public static final double DT1_E2_PHI
public static final double DT1_E3_THETA
public static final double DT1_E3_PHI
public static final double DT2_E1_THETA
public static final double DT2_E1_PHI
public static final double DT2_E2_THETA
public static final double DT2_E2_PHI
public static final double DT2_E3_THETA
public static final double DT2_E3_PHI
public static final Vector3D DT1_E1
public static final Vector3D DT1_E2
public static final Vector3D DT1_E3
public static final Vector3D DT2_E1
public static final Vector3D DT2_E2
public static final Vector3D DT2_E3
public static double trace
public static void main(java.lang.String[] args)
public static DT[] getOneTensorBlock(double[] fa, java.util.Random rotationRan)
rotationRan
- Random object to use to construct a random rotation matrix for each tensor.
If this is null
, then no rotation is applied.tensors
, where tensors[i]
has anisotropy
fa[i]
. Each tensor is reoriented to a random rotation.public static DT[][] getTwoTensorBlock(double[] fa, double[] mix, double dt2RotAngle, java.util.Random rotationRan)
fa
and mix
.rotationRan
- Random object to use to construct a random rotation matrix for each pair of
tensors. If this is null
, then no rotation is applied.[number of combinations][2]
.public static double[] eigenvalues(double fa, double t)