We know that detected streaks are list, use np.array
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user