public abstract class Codec
extends java.lang.Object
Constructor and Description |
---|
Codec() |
Modifier and Type | Method and Description |
---|---|
int |
getDirectionIndex()
Returns the first index of the theta-phi pair of parameters
encoding a single fiber orientation.
|
RealMatrix |
getJacobian(double[] optParams)
Computes the jacobian of the encoding, specifically d(model
parameters)/d(optimization parameters).
|
abstract int |
getNumModelParams() |
abstract int |
getNumOptParams() |
abstract double[] |
modelToOpt(double[] modelParams)
Maps the model parameters to the optimized parameters.
|
abstract double[] |
optToModel(double[] optParams)
Maps the optimized parameters to the model parameters.
|
public abstract int getNumOptParams()
public abstract int getNumModelParams()
public int getDirectionIndex()
public abstract double[] modelToOpt(double[] modelParams)
array
- of model parameterspublic abstract double[] optToModel(double[] optParams)
array
- of optimized parameterspublic RealMatrix getJacobian(double[] optParams)