use of uk.ac.sussex.gdsc.smlm.fitting.FisherInformationMatrix in project GDSC-SMLM by aherbert.
the class SteppingFunctionSolver method computeDeviationsAndValues.
/**
* Compute the deviations for the parameters a from the last call to
* {@link #computeFitValue(double[])}. Optionally store the function values.
*
* @param parametersVariance the parameter deviations
* @param fx the function values f(x) (may be null)
*/
protected void computeDeviationsAndValues(double[] parametersVariance, double[] fx) {
// Use a dedicated solver optimised for inverting the matrix diagonal.
// The last Hessian matrix should be stored in the working alpha.
final FisherInformationMatrix m = computeLastFisherInformationMatrix(fx);
setDeviations(parametersVariance, m);
}
Aggregations