public abstract class MCMC_Fitter extends CompartmentFitter
Constructor and Description |
---|
MCMC_Fitter()
Default constructor.
|
MCMC_Fitter(DW_Scheme scheme,
java.lang.String[] compNames,
double[] initialParams)
Constructor sets up various required objects for MCMC.
|
Modifier and Type | Method and Description |
---|---|
double[][] |
fit(double[] data)
Fits the model to one voxel's worth of data.
|
getDirectionIndex, getNumValuesPerRun, getNumValuesPerSolution
public MCMC_Fitter()
public MCMC_Fitter(DW_Scheme scheme, java.lang.String[] compNames, double[] initialParams)
scheme
- The imaging protocol.compNames
- the compartment names.initialParams
- the initial parameters.public double[][] fit(double[] data) throws MinimizerException
Fitter
fit
in class Fitter
data
- The measurements to fit to, which must come from
the imaging protocol in the Scheme object passed to the
constructor.MinimizerException