From 79b63b0ea882139d2ca97dbd3e09cd60661d2cd4 Mon Sep 17 00:00:00 2001 From: Samuel Stanton Date: Wed, 7 Aug 2024 16:55:31 -0400 Subject: [PATCH] update obj transforms --- cortex/acquisition/_graph_nei.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cortex/acquisition/_graph_nei.py b/cortex/acquisition/_graph_nei.py index def5b64..24a5c1f 100644 --- a/cortex/acquisition/_graph_nei.py +++ b/cortex/acquisition/_graph_nei.py @@ -18,9 +18,10 @@ GRAPH_OBJECTIVES = ["stability", "log_fluorescence"] GRAPH_CONSTRAINTS = {} # rescale stability and log_fluorescence to [0, 1] +# {"scale": 1 / (max - min), "shift": -min} GRAPH_OBJ_TRANSFORM = { - "stability": {"scale": 1 / 2.0, "shift": 2.0}, - "log_fluorescence": {"scale": 1 / 7.0, "shift": -4.0}, + "stability": {"scale": 1 / 5.37, "shift": 1.97}, + "log_fluorescence": {"scale": 1 / 2.84, "shift": -1.28}, }