npxpy.nodes.misc.StageMove
Bases: Node
A class to represent a stage move node with a specified stage position.
Attributes:
Name | Type | Description |
---|---|---|
target_position |
List[float]
|
The target position of the stage [x, y, z]. |
Source code in npxpy/nodes/misc.py
307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 |
|
stage_position
property
writable
Get the stage position.
__init__(name='Stage move', stage_position=[0.0, 0.0, 0.0])
Initialize the stage move node.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
str
|
Name of the stage move node. |
'Stage move'
|
stage_position
|
List[float]
|
Target position of the stage [x, y, z]. |
[0.0, 0.0, 0.0]
|
Source code in npxpy/nodes/misc.py
315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
|
to_dict()
Convert the StageMove object into a dictionary.
Returns:
Type | Description |
---|---|
Dict[str, Any]
|
Dict[str, Any]: Dictionary representation of the object. |
Source code in npxpy/nodes/misc.py
352 353 354 355 356 357 358 359 360 361 |
|