We know that detected streaks are list, use np.array

This commit is contained in:
Dorofeeva Elizaveta (EXT)
2025-07-11 11:22:45 +02:00
parent e3e701a4da
commit 7169ce5acb

View File

@@ -172,7 +172,7 @@ def _calc_streakfinder_analysis(results, cryst_data: CrystData):
return
streaks = det_obj.to_streaks(detected)
detected_streaks = np.asarray(detected.streaks)
detected_streaks = np.array(detected.streaks)
streak_lines = streaks.lines
# Adjust to crop region