Interface SensitivityMatrixManager
-
- All Known Implementing Classes:
SensitivityMatrixManagerImpl
public interface SensitivityMatrixManagerthis interface defines the methods of a class, that provides a sensitivity matrix for a fit. It also provides a method to apply the found changes in the parameters (corresponding to the columns of the sensitivity matrix) to the correct parameters of the model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddContributor(SensitivityMatrixContributor contributor)adds a contributor to the managervoidaddListener(SensitivityMatrixManagerListener listener)voidapply(MatrixSolverResult solverResult)applies the given changes in the parameter values to the correct values of the model.Jama.MatrixcreateSensitivityMatrix()creates the sensitivity matrixjava.util.List<SensitivityMatrixContributor>getActiveContributors()Jama.MatrixgetActiveDifferenceVector()Jama.MatrixgetActiveDifferenceVectorErrors()java.util.List<SensitivityMatrixContributor>getAllContributors()Jama.MatrixgetAllDifferenceVector()voidremoveContributors(Measurement measurement)removes the contributor for the given measurement.voidremoveListener(SensitivityMatrixManagerListener listener)
-
-
-
Method Detail
-
getActiveDifferenceVector
Jama.Matrix getActiveDifferenceVector()
- Returns:
- the difference vector, corresponding to the rows of the sensitivity matrix
-
getAllDifferenceVector
Jama.Matrix getAllDifferenceVector()
- Returns:
- the difference vector including all contributors
-
getActiveDifferenceVectorErrors
Jama.Matrix getActiveDifferenceVectorErrors()
- Returns:
- the errors on the difference vector, corresponding to the rows of the sensitivity matrix
-
createSensitivityMatrix
Jama.Matrix createSensitivityMatrix() throws CalculatorExceptioncreates the sensitivity matrix- Returns:
- the sensitivity matrix.
- Throws:
CalculatorException
-
apply
void apply(MatrixSolverResult solverResult)
applies the given changes in the parameter values to the correct values of the model.- Parameters:
solverResult- the result as calculated from the matrix solver
-
addContributor
void addContributor(SensitivityMatrixContributor contributor)
adds a contributor to the manager- Parameters:
contributor-
-
removeContributors
void removeContributors(Measurement measurement)
removes the contributor for the given measurement.- Parameters:
measurement-
-
addListener
void addListener(SensitivityMatrixManagerListener listener)
- Parameters:
listener- the listener to add
-
removeListener
void removeListener(SensitivityMatrixManagerListener listener)
- Parameters:
listener- the listener to remove
-
getActiveContributors
java.util.List<SensitivityMatrixContributor> getActiveContributors()
-
getAllContributors
java.util.List<SensitivityMatrixContributor> getAllContributors()
-
-