Class AmplitudeChi2
java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.SimpleChi2Var
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.SimpleChi2VarDelta
clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.AmplitudeChi2
- All Implemented Interfaces:
 MHTChi2Var<PamDataUnit>,Cloneable
Chi^2 value for dB amplitude of tracks. Measures the chnage in track delta between 
 subsequent detections.
- Author:
 - Jamie Macaulay
 
- 
Field Summary
Fields inherited from class clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.SimpleChi2Var
settingsPane - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoublecalcDeltaChi2(double lastDelta, double newDelta, double timeDiff) Calculate the chi2 for two different delta values.doublegetDiffValue(PamDataUnit pamDataUnit0, PamDataUnit pamDataUnit1) Get the difference in value between two sequential data units.doublegetErrValue(PamDataUnit pamDataUnit0, PamDataUnit pamDataUnit1) Get the error value between two sequential data units.getName()Get the name of the chi^2 variable.Get the settings pane with controls to change MHTChi2Var settingsgetUnits()Get the data units for the MHTChi2 var.voidsetSettingsObject(Object object) Set the settings object for saving the parameters.voidSet the chi2 params for the chi2variable.Methods inherited from class clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.SimpleChi2VarDelta
updateChi2Methods inherited from class clickTrainDetector.clickTrainAlgorithms.mht.mhtvar.SimpleChi2Var
calcChi2, calcChi2, clear, clone, getChi2, getError, getLastDataUnit, getMinCutValue, getSettingsObject, getSimpleChiVarParams, isDataBlockCompatible, setChi2, setError, setLastDataUnit 
- 
Constructor Details
- 
AmplitudeChi2
public AmplitudeChi2() 
 - 
 - 
Method Details
- 
getName
Description copied from interface:MHTChi2VarGet the name of the chi^2 variable.- Returns:
 - the name of the chi^2 variable.
 
 - 
getDiffValue
Description copied from class:SimpleChi2VarGet the difference in value between two sequential data units. This is top of the chi2 equation.- Specified by:
 getDiffValuein 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:SimpleChi2VarGet the error value between two sequential data units. This is denominator of the chi2 equation.- Specified by:
 getErrValuein classSimpleChi2Var- Parameters:
 pamDataUnit0- - the first data unit.pamDataUnit1- - the second data unit.- Returns:
 - - the error between the difference
 
 - 
calcDeltaChi2
public double calcDeltaChi2(double lastDelta, double newDelta, double timeDiff) Description copied from class:SimpleChi2VarDeltaCalculate the chi2 for two different delta values.- Overrides:
 calcDeltaChi2in classSimpleChi2VarDelta- Parameters:
 lastDelta- - the first delta valuenewDelta- - the second delta valuetimeDiff- - the time difference for error calculation- Returns:
 - the chi^2 value.
 
 - 
getUnits
Description copied from interface:MHTChi2VarGet the data units for the MHTChi2 var.- Returns:
 - the units.
 
 - 
setSimpleChiVarParams
Description copied from class:SimpleChi2VarSet the chi2 params for the chi2variable.- Overrides:
 setSimpleChiVarParamsin classSimpleChi2Var- Parameters:
 params-
 - 
setSettingsObject
Description copied from interface:MHTChi2VarSet the settings object for saving the parameters. This is only used for saving params.- Specified by:
 setSettingsObjectin interfaceMHTChi2Var<PamDataUnit>- Overrides:
 setSettingsObjectin classSimpleChi2Var- Parameters:
 object- - the settings object.
 - 
getSettingsPane
Description copied from interface:MHTChi2VarGet the settings pane with controls to change MHTChi2Var settings- Specified by:
 getSettingsPanein interfaceMHTChi2Var<PamDataUnit>- Overrides:
 getSettingsPanein classSimpleChi2Var- Returns:
 - the MHTChiVar specific settings pane.
 
 
 -