public abstract class TensorModelFitter extends DiffDataFitter
Constructor and Description |
---|
TensorModelFitter() |
Modifier and Type | Method and Description |
---|---|
static DT |
fAndBetaToDT(double[] fAndBeta)
Computes the DT from F and Beta.
|
static double[] |
fsAndBetasFromSingleDT(DT singleDT)
Computes the Fs and betas defining two axisymmetric tensors derived from
a single DT to use as a starting point for fitting the two-tensor model.
|
static double[] |
fsAndBetasThreeFromSingleDT(DT singleDT)
Computes the Fs and betas defining three axisymmetric tensors derived
from a single DT to use as a starting point for fitting the three tensor
model.
|
static double |
invX2P1(double x)
One of the standard functions for constraining optimization parameters
(eg a mixing parameter) to [0, 1].
|
getG, newDepVals
getChiSq, getRelativeResidual, getResidual, getResiduals, setSig
getCONVERGETHRESH, getFObjVal, getParameters, minimise, setConvergence, setCONVERGETHRESH, setInitParams, setMAXITER
public static double[] fsAndBetasFromSingleDT(DT singleDT)
singleDT
- The single DT to use.public static double[] fsAndBetasThreeFromSingleDT(DT singleDT)
singleDT
- The single DT to use.public static DT fAndBetaToDT(double[] fAndBeta)
fAndBeta
- The array containing F and Beta.public static double invX2P1(double x)
The
- optimization parameter.