adjust cont grid fast axis ordering #234

Merged
wakonig_k merged 1 commits from fix/cont_grid_fast_axis into main 2026-06-24 15:34:35 +02:00
+1 -2
View File
@@ -149,14 +149,13 @@ class ContGrid(ScanBase):
)
positions = position_generators.nd_grid_positions(
[
(self.stepper_start, self.stepper_stop, self._cont_motor_params["num_lines"]),
(self.fast_start, self.fast_end, frames_per_trigger),
(self.stepper_start, self.stepper_stop, self._cont_motor_params["num_lines"]),
],
snaked=False,
)
# Count only the end point of each line as a valid position, as the fast axis is continuously moving and only triggered at
# the beginning of the line moving to the end point.
positions = positions[:, ::-1]
# Get device specific parameters
self._fetch_device_params()