From c9d981fad325b4b6bf4f56250d45f2ae38d45cd6 Mon Sep 17 00:00:00 2001 From: krakenrf Date: Fri, 28 Oct 2022 19:10:22 +1300 Subject: tidy up --- _UI/_web_interface/kraken_web_interface.py | 6 +++--- 1 file 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 -- cgit v1.2.3