DAQ: bug where find_xtal was using spot_count not low_res_spots for the initial check.
This commit is contained in:
@@ -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]
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user