fix: use total spots according to MW
CI / lint (push) Skipped
CI / test (3.11) (push) Skipped
CI / test (3.12) (push) Skipped
CI / test (3.13) (push) Skipped
CI / lint (pull_request) Successful in 23s
CI / test (3.12) (pull_request) Failing after 24s
CI / test (3.13) (pull_request) Failing after 22s
CI / test (3.11) (pull_request) Failing after 26s

This commit is contained in:
2026-08-27 16:55:48 +02:00
parent 290a3ab59a
commit eae49b82fe
+3 -1
View File
@@ -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 (0100) 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: