DAQ: bug where find_xtal was using spot_count not low_res_spots for the initial check.

This commit is contained in:
appleb_m
2025-12-22 09:39:48 +01:00
parent bbc409eb81
commit 0796572cb8
+1 -1
View File
@@ -12,7 +12,7 @@ logger = setup_logger('aareDAQ')
def identify_crystal_raster(result, r: RasterGridRequest) -> CenterOfMassModel | None:
images = result.images
if images and any(getattr(img, "spots", 0) for img in images):
if images and any(getattr(img, "spots_low_res", 0) for img in images):
#
# indexed_images = [img for img in images if img.index and img.spots_low_res > 4 and img.bkg > 4.5]
#