summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x_UI/_web_interface/kraken_web_interface.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/_UI/_web_interface/kraken_web_interface.py b/_UI/_web_interface/kraken_web_interface.py
index 4f3b11e..9d40cc0 100755
--- a/_UI/_web_interface/kraken_web_interface.py
+++ b/_UI/_web_interface/kraken_web_interface.py
@@ -1274,9 +1274,9 @@ def plot_pr():
#CAFMatrix = CAFMatrix / np.amax(CAFMatrix) # Noramlize with the maximum value
starttime = time.time()
- valueMax = np.amax(CAFMatrix)
- valueMin = np.amin(CAFMatrix)
- #CAFMatrix = CAFMatrix - valueMin / (valueMax - valueMin)
+ #valueMax = np.amax(CAFMatrix)
+ #valueMin = np.amin(CAFMatrix)
+ #CAFMatrix = 100 * (CAFMatrix - valueMin) / (valueMax - valueMin)
if webInterface_inst.CAFMatrixPersist is None or webInterface_inst.CAFMatrixPersist.shape != CAFMatrix.shape or not webInterface_inst.en_persist:
webInterface_inst.CAFMatrixPersist = CAFMatrix