test: add cont grid scan tests
This commit is contained in:
@@ -75,58 +75,21 @@ class ContGrid(ScanBase):
|
||||
}
|
||||
|
||||
def __init__(
|
||||
# fmt: off
|
||||
self,
|
||||
fast_axis: Annotated[
|
||||
DeviceBase,
|
||||
ScanArgument(display_name="Fast Axis", description="Axis with continuous motion."),
|
||||
],
|
||||
fast_start: Annotated[
|
||||
float,
|
||||
ScanArgument(
|
||||
display_name="Fast Start",
|
||||
description="Start position for measurement points of the fast axis.",
|
||||
),
|
||||
],
|
||||
fast_end: Annotated[
|
||||
float,
|
||||
ScanArgument(
|
||||
display_name="Fast End",
|
||||
description="End position for measurement points of the fast axis.",
|
||||
),
|
||||
],
|
||||
fast_step_size: Annotated[
|
||||
float,
|
||||
ScanArgument(
|
||||
display_name="Fast Step Size",
|
||||
description="Step size for points of the continuous motion axis.",
|
||||
),
|
||||
],
|
||||
stepper_axis: Annotated[
|
||||
DeviceBase,
|
||||
ScanArgument(
|
||||
display_name="Step Axis",
|
||||
description="Step axis of the grid scan, stepping through the lines.",
|
||||
),
|
||||
],
|
||||
stepper_start: Annotated[
|
||||
float,
|
||||
ScanArgument(display_name="Step Start", description="Start position of the step axis."),
|
||||
],
|
||||
stepper_stop: Annotated[
|
||||
float,
|
||||
ScanArgument(display_name="Step Stop", description="End position of the step axis."),
|
||||
],
|
||||
stepper_step_size: Annotated[
|
||||
float,
|
||||
ScanArgument(
|
||||
display_name="Step Step Size",
|
||||
description="Step size of the step axis in units of the motor.",
|
||||
),
|
||||
],
|
||||
fast_axis: Annotated[DeviceBase, ScanArgument(display_name="Fast Axis", description="Axis with continuous motion.")],
|
||||
fast_start: Annotated[float, ScanArgument(display_name="Fast Start", description="Start position for measurement points of the fast axis.")],
|
||||
fast_end: Annotated[float, ScanArgument(display_name="Fast End", description="End position for measurement points of the fast axis.")],
|
||||
fast_step_size: Annotated[float, ScanArgument(display_name="Fast Step Size", description="Step size for points of the continuous motion axis.")],
|
||||
stepper_axis: Annotated[DeviceBase, ScanArgument(display_name="Step Axis", description="Step axis of the grid scan, stepping through the lines.")],
|
||||
stepper_start: Annotated[float, ScanArgument(display_name="Step Start", description="Start position of the step axis.")],
|
||||
stepper_stop: Annotated[float, ScanArgument(display_name="Step Stop", description="End position of the step axis.")],
|
||||
stepper_step_size: Annotated[float, ScanArgument(display_name="Step Step Size", description="Step size of the step axis in units of the motor.")],
|
||||
exp_time: DefaultArgType.ExposureTime,
|
||||
relative: DefaultArgType.Relative = False,
|
||||
fast_axis_always_in_pos_dir: bool = True,
|
||||
**kwargs,
|
||||
# fmt: on
|
||||
):
|
||||
"""
|
||||
Continuous grid scan with 2-axis. The scan requires the fast axis to properly implement base velocity as well as high velocity and high acceleration time
|
||||
|
||||
Reference in New Issue
Block a user