diff options
author | krakenrf <carl@system76-pc.localdomain> | 2022-10-28 08:10:22 +0200 |
---|---|---|
committer | krakenrf <carl@system76-pc.localdomain> | 2022-10-28 08:10:22 +0200 |
commit | c9d981fad325b4b6bf4f56250d45f2ae38d45cd6 (patch) | |
tree | 4509cccf16e20915b1af6d15012c2ad2d2fce200 /_UI/_web_interface | |
parent | graph fixes (diff) | |
download | krakensdr_pr-c9d981fad325b4b6bf4f56250d45f2ae38d45cd6.tar krakensdr_pr-c9d981fad325b4b6bf4f56250d45f2ae38d45cd6.tar.gz krakensdr_pr-c9d981fad325b4b6bf4f56250d45f2ae38d45cd6.tar.bz2 krakensdr_pr-c9d981fad325b4b6bf4f56250d45f2ae38d45cd6.tar.lz krakensdr_pr-c9d981fad325b4b6bf4f56250d45f2ae38d45cd6.tar.xz krakensdr_pr-c9d981fad325b4b6bf4f56250d45f2ae38d45cd6.tar.zst krakensdr_pr-c9d981fad325b4b6bf4f56250d45f2ae38d45cd6.zip |
Diffstat (limited to '_UI/_web_interface')
-rwxr-xr-x | _UI/_web_interface/kraken_web_interface.py | 6 |
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
|