class documentation
class RegularGridPlanner(RectGridPlanner): (source)
Constructor: RegularGridPlanner(initial_position, planner_settings)
A scan planner that performs a snake or a raster scan.
Direction cannot yet be set it always scans, right and down from a corner.
This planner starts at the corner of the region to scan, snaking back and forth, starting moving right and down (assuming positive dx and dy.)
| Method | _initial |
Set the initial list of locations for this scan planner. |
| Method | _parse |
Parse any settings sent to this planner and store them if needed. |
| Instance Variable | _style |
Undocumented |
| Instance Variable | _x |
Undocumented |
| Instance Variable | _y |
Undocumented |
Inherited from RectGridPlanner:
| Method | moves |
Return displacement in grid-move units as a numpy array [dx_moves, dy_moves]. |
| Method | select |
Return a focused site near the given position to estimate Z for the next move. |
| Method | _adjacent |
Undocumented |
| Method | _intermediate |
Return an (x,y) position halfway between two input positions. |
| Instance Variable | _dx |
Undocumented |
| Instance Variable | _dy |
Undocumented |
Inherited from ScanPlanner (via RectGridPlanner):
| Method | __init__ |
Set up lists for the path planning, and scan history. |
| Method | get |
Return the next location to scan and its estimated z-position. |
| Method | get |
Return the scan location from the history that matches the input position. |
| Method | mark |
Mark the location as visited. |
| Method | position |
Return True if input scan position position is planned. |
| Method | position |
Return True if input scan position has been visited before. |
| Property | focused |
Property to access a copy of the focused_locations. |
| Property | focused |
Property to access a copy of the focused_locations. |
| Property | imaged |
Property to access a copy of the imaged_locations. |
| Property | path |
Property to access a copy of the path_history. |
| Property | remaining |
Property to access a copy of the remaining_locations. |
| Property | scan |
Return True if there are no locations left to scan. |
| Method | _grid |
Flatten a 2D grid of coordinates into flat list of FutureScanLocation objects. |
| Instance Variable | _initial |
Undocumented |
| Instance Variable | _path |
Undocumented |
| Instance Variable | _remaining |
Undocumented |