From 1def23da70a87d66dcd75d9adb61ef8139045b5a Mon Sep 17 00:00:00 2001 From: appel_c Date: Fri, 17 Apr 2026 11:15:53 +0200 Subject: [PATCH] w grid scan --- csaxs_bec/scans/scans_v4/cont_grid_scan.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/csaxs_bec/scans/scans_v4/cont_grid_scan.py b/csaxs_bec/scans/scans_v4/cont_grid_scan.py index c7e9fd7..4518006 100644 --- a/csaxs_bec/scans/scans_v4/cont_grid_scan.py +++ b/csaxs_bec/scans/scans_v4/cont_grid_scan.py @@ -189,6 +189,8 @@ class ContGridScanCSAXS(ScanBase): @scan_hook def scan_core(self): + # TODO this should be refactored to more easily enumerate across the motor positions at start, end of each line within the grid. + # This current implementation is error-prone. line_positions = self.positions.reshape(self.num_lines, -1, 2) for line_index, _line_positions_for_step in enumerate(line_positions): self.components.move_and_wait(