Class LengthChi2
java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.SimpleChi2Var
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.LengthChi2
- All Implemented Interfaces:
MHTChi2Var<PamDataUnit>
,Cloneable
The length of a click.
- Author:
- Jamie Macaulay
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDiffValue
(PamDataUnit pamDataUnit0, PamDataUnit pamDataUnit1) Get the difference in value between two sequential data units.double
getErrValue
(PamDataUnit pamDataUnit0, PamDataUnit pamDataUnit1) Get the error value between two sequential data units.getName()
Get the name of the chi^2 variable.getUnits()
Get the data units for the MHTChi2 var.Methods inherited from class clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.SimpleChi2Var
calcChi2, clear, clone, getChi2, getError, getMinCutValue, getSettingsObject, getSettingsPane, getSimpleChiVarParams, isDataBlockCompatible, setError, setSettingsObject, setSimpleChiVarParams, updateChi2
-
Constructor Details
-
LengthChi2
public LengthChi2()
-
-
Method Details
-
getName
Description copied from interface:MHTChi2Var
Get the name of the chi^2 variable.- Returns:
- the name of the chi^2 variable.
-
getUnits
Description copied from interface:MHTChi2Var
Get the data units for the MHTChi2 var.- Returns:
- the units.
-
getDiffValue
Description copied from class:SimpleChi2Var
Get the difference in value between two sequential data units. This is top of the chi2 equation.- Specified by:
getDiffValue
in classSimpleChi2Var
- Parameters:
pamDataUnit0
- - the first data unit.pamDataUnit1
- - the second data unit.- Returns:
- - the difference in selected variable between the two data units.
-
getErrValue
Description copied from class:SimpleChi2Var
Get the error value between two sequential data units. This is denominator of the chi2 equation.- Specified by:
getErrValue
in classSimpleChi2Var
- Parameters:
pamDataUnit0
- - the first data unit.pamDataUnit1
- - the second data unit.- Returns:
- - the error between the difference
-