diff --git a/common/src/aaredaqlib/find_xtal.py b/common/src/aaredaqlib/find_xtal.py index 4d366f5f..07d5d430 100644 --- a/common/src/aaredaqlib/find_xtal.py +++ b/common/src/aaredaqlib/find_xtal.py @@ -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] #