de_twin.state.ScanRequest#

class de_twin.state.ScanRequest(enabled: 'bool' = False, size: 'tuple[int, int]' = (256, 256), dwell_s: 'float' = 0.001, frames_per_point: 'int' = 1, rotation_deg: 'float' = 0.0, step_um: 'float' = 0.0, roi: 'Roi | None' = None, park: 'bool' = False, park_position: 'tuple[int, int]' = (0, 0), repeats: 'int' = 1, points: 'list[tuple[int, int]] | None' = None, voltage_h: 'tuple[float, float]' = (-1.0, 1.0), voltage_v: 'tuple[float, float]' = (-1.0, 1.0), pixel_offset: 'tuple[float, float]' = (0.0, 0.0), flip: 'tuple[bool, bool]' = (False, False))[source]#

Bases: object

Parameters:
__init__(enabled=False, size=(256, 256), dwell_s=0.001, frames_per_point=1, rotation_deg=0.0, step_um=0.0, roi=None, park=False, park_position=(0, 0), repeats=1, points=None, voltage_h=(-1.0, 1.0), voltage_v=(-1.0, 1.0), pixel_offset=(0.0, 0.0), flip=(False, False))#
Parameters:
Return type:

None

Methods

__init__([enabled, size, dwell_s, ...])

Attributes

enabled: bool = False#
size: tuple[int, int] = (256, 256)#
dwell_s: float = 0.001#
frames_per_point: int = 1#
rotation_deg: float = 0.0#
step_um: float = 0.0#
roi: Roi | None = None#
park: bool = False#
park_position: tuple[int, int] = (0, 0)#
repeats: int = 1#
points: list[tuple[int, int]] | None = None#
voltage_h: tuple[float, float] = (-1.0, 1.0)#
voltage_v: tuple[float, float] = (-1.0, 1.0)#
pixel_offset: tuple[float, float] = (0.0, 0.0)#
flip: tuple[bool, bool] = (False, False)#