DAQ: For vertical grid scan in auto centering, use a smaller y step.

This commit is contained in:
2025-08-13 09:19:12 +02:00
parent efa8e611f9
commit 2452d47475
+1
View File
@@ -370,6 +370,7 @@ class AareDAQ:
grid.n_x = 1
grid.n_y = 100
grid.file_prefix = f"{old_prefix}_{grid.omega_deg}deg"
grid.grid_size_mm = Coordinate(x=geom.beam_size_mm.x * 0.8, y=geom.beam_size_mm.y * 0.2)
offset = Coordinate(x=0, y=-grid.n_y * grid.grid_size_mm.y / 2.0)
geom = self.sample_geometry
grid.smargon.sh_mm = geom.smargon.sh_mm + geom.smargon_nudge(offset)