fix: revert to 0.75 low res spot and 0.25 background
CI / lint (pull_request) Successful in 24s
CI / test (3.11) (pull_request) Successful in 24s
CI / test (3.13) (pull_request) Successful in 22s
CI / test (3.12) (pull_request) Successful in 28s
CI / lint (push) Canceled after 10s
CI / test (3.11) (push) Canceled after 0s
CI / test (3.12) (push) Canceled after 0s
CI / test (3.13) (push) Canceled after 0s
Build and Publish / release (push) Successful in 10s
CI / lint (pull_request) Successful in 24s
CI / test (3.11) (pull_request) Successful in 24s
CI / test (3.13) (pull_request) Successful in 22s
CI / test (3.12) (pull_request) Successful in 28s
CI / lint (push) Canceled after 10s
CI / test (3.11) (push) Canceled after 0s
CI / test (3.12) (push) Canceled after 0s
CI / test (3.13) (push) Canceled after 0s
Build and Publish / release (push) Successful in 10s
This commit was merged in pull request #27.
This commit is contained in:
@@ -359,7 +359,7 @@ def has_sufficient_low_res_spots(result_array: np.ndarray, min_spots_low_res: fl
|
||||
|
||||
|
||||
def compute_crystal_score_array(
|
||||
scan_results: list, w_bkg: float = 0.01, w_low_res: float = 0.99, w_indexed: float = 0.00
|
||||
scan_results: list, w_bkg: float = 0.25, w_low_res: float = 0.75, w_indexed: float = 0.00
|
||||
) -> np.ndarray:
|
||||
"""Combine bkg (25%), spots_low_res (75%), and spots_indexed (00%) into a 0–100 score.
|
||||
|
||||
@@ -369,7 +369,7 @@ def compute_crystal_score_array(
|
||||
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")
|
||||
arr_low = rebuild_array_from_scan_results(scan_results, "spots_low_res")
|
||||
arr_idx = rebuild_array_from_scan_results(scan_results, "spots_indexed")
|
||||
|
||||
def _norm(a: np.ndarray) -> np.ndarray:
|
||||
|
||||
Reference in New Issue
Block a user