DAQ: added class variable for the min low spots threshold

This commit is contained in:
appleb_m
2025-12-22 09:33:46 +01:00
parent 2a54ee43d3
commit 7a9411d0cd
+3 -2
View File
@@ -94,6 +94,9 @@ class AXCFailed(Exception):
return self.message
class AareDAQ:
MIN_SPOTS_LOW_RES_THRESHOLD = 10.0
def __init__(self, cfg: BeamlineConfig, bl: MXBeamline):
self.last_time = 0.0
self.__cfg = cfg
@@ -612,8 +615,6 @@ class AareDAQ:
images = result.images
result_array = create_quality_filtered_array(images, 'spots_low_res', min_spots=None,
min_efficiency=1.0, min_background=None, min_low_res_spots=None)
result_array = create_quality_filtered_array(images,
'spots_low_res', min_spots=None,
min_efficiency=1.0, min_background=None,