From 12104e72ef99bf442f0dd0e9b67c193cdd144bd6 Mon Sep 17 00:00:00 2001 From: Lisa Dorofeeva Date: Wed, 25 Jun 2025 08:53:25 +0200 Subject: [PATCH] CBD streak finder: Correct shape of streaks data --- dap/algos/streakfind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dap/algos/streakfind.py b/dap/algos/streakfind.py index af7d0e6..14d7cdc 100644 --- a/dap/algos/streakfind.py +++ b/dap/algos/streakfind.py @@ -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 = []