A subclass of the canvas fingerprint similarity manager which is to be
used from a program with a TKInter interface. This class has methods for
creating a component which displays all the similarity metrics options
and takes care of managing the internal state
|
|
getGUI(self)
Returns a GUI component which displays the similarity options |
|
|
|
|
setMetricCB(self,
metric)
A callback for setting the similarity metric - takes care of enabling
the alpha and beta boxes. |
|
|
|
|
update(self)
Update the internal state to reflect the GUI (used mainly for alpha
and beta values |
|
|
|
swidgets.SGroupBox (QGroupBox object)
|
getCalculationGUI(self,
command,
msg=None)
Create the GUI section that has the calculate button |
|
|
|
QWidget
|
getTab(self,
command=None,
settings=True,
calculation=True,
msg=None)
Creates a tab that can be used in a QTabWidget for calculating
similarity. |
|
|
|
bool
|
sortEntryCheck(self)
Check if entries should be sorted or not (based on the toggle state
of the Sort selected entries checkbox on the Similarity Tab. |
|
|
|
Inherited from similarity.CanvasFingerprintSimilarity:
__init__,
calculateSimilarity,
debug,
getAlpha,
getBeta,
getDescription,
getMetric,
getMetricStyle,
setAlpha,
setBeta,
setMetric,
simBuser,
simCosine,
simDice,
simDixon,
simEuclidean,
simHamann,
simHamming,
simKulczynski,
simMatching,
simMcConnaughey,
simMinMax,
simModifiedTanimoto,
simPatternDifference,
simPearson,
simPetke,
simRogersTanimoto,
simShape,
simSimpson,
simSize,
simSoergel,
simTanimoto,
simTversky,
simVariance,
simYule
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|