class documentation
class VisitedScanLocation: (source)
Constructor: VisitedScanLocation(xyz_pos, imaged, focused, **kwargs)
Data for information on locations already visited during a scan.
This object is only used for internal calculation and data storage it shouldn't be an input or output of public methods.
| Method | __eq__ |
Check for equality, only checks the xyz-position or xy-position if z isn't available. |
| Method | __init__ |
Initialise VisitedScanLocation with an xyz-position, and whether imaged/focused. |
| Instance Variable | focused |
Undocumented |
| Instance Variable | imaged |
Undocumented |
| Instance Variable | planner |
Undocumented |
| Property | xy |
The xy position tuple. |
| Property | xyz |
The xyz position tuple. |
| Instance Variable | _xyz |
Undocumented |
Check for equality, only checks the xyz-position or xy-position if z isn't available.
Will check xyz-position against 3-value tuples and other VisitedScanLocation objects.
Will check xy-position against 2-value tuples and FutureScanLocation objects.
Initialise VisitedScanLocation with an xyz-position, and whether imaged/focused.
| Parameters | |
xyzXYZPos | The (x, y, z) position visited. |
imaged:bool | True if an image was taken, False if not (due to background detect) |
focused:bool | True if autofocus completed successfully |
**kwargs:Any | Any other information about the location. This should be passed through to from the FutureScanLocation object that requested the location to be scanned. |