Class StandardMHTChi2Params
java.lang.Object
clickTrainDetector.clickTrainAlgorithms.mht.MHTChi2Params
clickTrainDetector.clickTrainAlgorithms.mht.StandardMHTChi2Params
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
Parameters for the PamMHTChi2 class.
Note on penalty factors. Once the chi^2 is calculated based on the MHT track variables, then the track is given a series of penalties. A penalty in the variable name means that the higher the value the lower the higher the chi^2. A bonus means the higher the value the lower the chi^2 value,
- Author:
- Jamie Macaulay
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionObject[]
Simply stores bespoke settings class for mhtChi2Vars; Only used because ArrayListinvalid input: '<'MHTChi2Var> is not serializable. double
The penalty factor for a single coast.Simple electrical noise parameters.boolean[]
List of enabled params.static double
Penalty which is added when a track is considered junk (i.e.double
Deprecated.double
Exponent for the long track bonus - no point in using a multiplier because then just multiplying all tracks by the same number.double
Exponent for the low ICI track bonus - no point in using a multiplier because then just multiplying all tracks by the same number.double
Deprecated.double
Deprecated.int
The maximum number of detections after which a track is no longer considered a new track.double
The penalty factor for starting a new track.boolean
True to use cross correlation to calculate ICI values.boolean
True to add a test as to whether data is too consistent, i.e.Fields inherited from class clickTrainDetector.clickTrainAlgorithms.mht.MHTChi2Params
maxICI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Get a set of data that describes all of the parameters in a classvoid
Print the class types for each of MHT variable settings.void
Print the settings for the params class.void
Called whenever settings have been restored.void
restoreSettings
(ArrayList<MHTChi2Var<PamDataUnit>> mhtChi2Vars) Restore settings of chi2 vars from the saved settings chi2settings objects.
-
Field Details
-
useCorrelation
public boolean useCorrelationTrue to use cross correlation to calculate ICI values. -
coastPenalty
public double coastPenaltyThe penalty factor for a single coast. -
newTrackPenalty
public double newTrackPenaltyThe penalty factor for starting a new track. -
longTrackExponent
public double longTrackExponentExponent for the long track bonus - no point in using a multiplier because then just multiplying all tracks by the same number. Thus the higher this is the more the more weight is given to longer tracks. Make zero to remove bonus -
lowICIExponent
public double lowICIExponentExponent for the low ICI track bonus - no point in using a multiplier because then just multiplying all tracks by the same number. Thus the higher this is the more the more weight is given to loweer ICI tracks. Make zero to remove bonus. -
longTrackBonus
Deprecated.The bonus factor for having a longer track. -
lowTrackICIBonus
Deprecated.Bonus factor for a track with lower ICI. -
maxICIMultipler
Deprecated.The maximum multiple of the median ICI of a track that maximum ICI of the track can be. Deprecated. No longer used. -
newTrackN
public int newTrackNThe maximum number of detections after which a track is no longer considered a new track. -
JUNK_TRACK_PENALTY
public static double JUNK_TRACK_PENALTYPenalty which is added when a track is considered junk (i.e. with a median IDI value well over the maximum allowed) but not yet tagged for removal from the probability mix. Essentially this is designed to put the track to the back of the queue. -
chi2Settings
Simply stores bespoke settings class for mhtChi2Vars; Only used because ArrayListinvalid input: '<'MHTChi2Var> is not serializable. -
enable
public boolean[] enableList of enabled params. -
useElectricNoiseFilter
public boolean useElectricNoiseFilterTrue to add a test as to whether data is too consistent, i.e. likely to be electrical noise.. -
electricalNoiseParams
Simple electrical noise parameters.
-
-
Constructor Details
-
StandardMHTChi2Params
public StandardMHTChi2Params() -
StandardMHTChi2Params
-
-
Method Details
-
clone
- Overrides:
clone
in classMHTChi2Params
-
restoreSettings
public void restoreSettings()Description copied from class:MHTChi2Params
Called whenever settings have been restored.- Overrides:
restoreSettings
in classMHTChi2Params
-
restoreSettings
Restore settings of chi2 vars from the saved settings chi2settings objects.- Parameters:
mhtChi2Vars
- - the chi2 vars to restore settings for.
-
printMHTVarClass
public void printMHTVarClass()Print the class types for each of MHT variable settings. -
printSettings
public void printSettings()Print the settings for the params class. -
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Overrides:
getParameterSet
in classMHTChi2Params
- Returns:
- description of the parameters in a class.
-