CBD streak finder: Correct shape of streaks data

This commit is contained in:
2025-06-25 08:53:25 +02:00
parent 68b108655b
commit 12104e72ef

View File

@@ -53,7 +53,7 @@ def calc_streakfinder_analysis(results, data, pixel_mask_sf):
# Streak finding algorithm. Starting from the set of seed peaks, the lines are iteratively
# extended with a connectivity structure.
streaks = psf.detect_streaks(peaks=peaks, xtol=xtol, vmin=vmin)
streak_lines = streaks.to_lines()
streak_lines = streaks.to_lines().T
_, number_of_streaks = streak_lines.shape
print(f"Found {number_of_streaks} streaks")
list_result = []