diff --git a/src/aarecommon/math/find_xtal.py b/src/aarecommon/math/find_xtal.py index 9cd23ff..dda3077 100644 --- a/src/aarecommon/math/find_xtal.py +++ b/src/aarecommon/math/find_xtal.py @@ -365,9 +365,11 @@ def compute_crystal_score_array( Each field is min-max normalised to [0, 100] within the grid before weighting, so the final score is the probability (0–100) that a pixel belongs to a crystal. + + TODO: update spots and its naming all over the place by middle of Sept 2026 """ arr_bkg = rebuild_array_from_scan_results(scan_results, "bkg") - arr_low = rebuild_array_from_scan_results(scan_results, "spots_low_res") + arr_low = rebuild_array_from_scan_results(scan_results, "spots") arr_idx = rebuild_array_from_scan_results(scan_results, "spots_indexed") def _norm(a: np.ndarray) -> np.ndarray: