-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
I will open a new issue for this, but it's very similar to #149
On useq-schema-0.4.7:
>>> import useq
>>> seq = useq.MDASequence(stage_positions=[(100,100), (0,0)], time_plan={"interval": 1, "loops": 2}, axis_order='ptgcz')
>>> list(seq)
[MDAEvent(index=mappingproxy({'t': 0, 'p': 0}), min_start_time=0.0, x_pos=100.0, y_pos=100.0),
MDAEvent(index=mappingproxy({'t': 1, 'p': 0}), min_start_time=1.0, x_pos=100.0, y_pos=100.0),
MDAEvent(index=mappingproxy({'t': 0, 'p': 1}), min_start_time=0.0, x_pos=0.0, y_pos=0.0),
MDAEvent(index=mappingproxy({'t': 1, 'p': 1}), min_start_time=1.0, x_pos=0.0, y_pos=0.0)]
See how the min_start_time resets.
With this the first position runs fine, but the later ones will run at full speed.
Metadata
Metadata
Assignees
Labels
No labels