public class GaussianMixture extends java.lang.Object implements ModelPDF
Constructor and Description |
---|
GaussianMixture(DT[] components,
double[] mixingParameters)
Constructor initializes the array of diffusion tensors and mixing
parameters as well as the diffusion time.
|
Modifier and Type | Method and Description |
---|---|
double |
at(double[] x,
double tau)
Returns the value of the function at the specified point and time.
|
double |
ftAt(double[] q,
double tau)
Returns the value of the FT of the function at the specified wavenumber.
|
double |
ftAtB_Vec(double[] g,
double b)
Returns the value of the FT of the function at the specified gradient direction and b-value.
|
double[][] |
getPDs()
Returns a list of principal directions of the test function.
|
DT[] |
getTensors() |
java.lang.String |
toString() |
public GaussianMixture(DT[] components, double[] mixingParameters)
components
- The diffusion tensors for each component.mixingParameters
- The mixing parameters for each component.public double at(double[] x, double tau)
ModelPDF
public double ftAt(double[] q, double tau)
ModelPDF
public double ftAtB_Vec(double[] g, double b)
ModelPDF
public double[][] getPDs()
public DT[] getTensors()
public java.lang.String toString()
toString
in class java.lang.Object