CBD streak finder: Correct shape of streaks data
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user