Skip to content

Commit d91648b

Browse files
committed
ensure we have physical dimensions in the stage scan
1 parent 4b906fb commit d91648b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

uc2rest/motor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -726,11 +726,11 @@ def start_stage_scanning(self, xstart=0, xstep=1000, nx=20, ystart=0, ystep=1000
726726
payload = {
727727
"task": path,
728728
"stagescan": {
729-
"xStart": xstart,
730-
"xStep": xstep,
729+
"xStart": xstart / self.stepSizeX,
730+
"xStep": xstep / self.stepSizeX,
731731
"nX": nx,
732-
"yStart": ystart,
733-
"yStep": ystep,
732+
"yStart": ystart / self.stepSizeY,
733+
"yStep": ystep / self.stepSizeY,
734734
"nY": ny,
735735
"tPre": tsettle,
736736
"tPost": tExposure,

0 commit comments

Comments
 (0)