Bug fix in streaks coordintaes shift

This commit is contained in:
Dorofeeva Elizaveta (EXT)
2025-07-10 10:26:38 +02:00
parent b3ec993f2f
commit 2bd3e875e3

View File

@@ -160,7 +160,7 @@ def _calc_streakfinder_analysis(results, cryst_data: CrystData):
# Adjust to crop region
if crop_roi is not None:
shift = [crop_roi[2], crop_roi[0], crop_roi[0], crop_roi[2]]
shift = [crop_roi[0], crop_roi[2], crop_roi[0], crop_roi[2]]
streak_lines = streak_lines + shift
if x_center is not None and y_center is not None: