fix: adjust cont grid to first axis is fast axis convention
CI for csaxs_bec / test (pull_request) Successful in 1m33s
Read the Docs Deploy Trigger / trigger-rtd-webhook (push) Successful in 3s
CI for csaxs_bec / test (push) Successful in 1m34s

This commit was merged in pull request #234.
This commit is contained in:
2026-06-24 12:56:45 +02:00
parent 69e7b28e5c
commit 282d311a9b
+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()