class CChipWorkflow(RectGridWorkflow[
A workflow optimised for scanning the well of a CChip.
This workflow generates a list of coordinates in a rectangle, and snakes around them from the top left (assuming positive dx and dy), stacking the grid and above.
| Method | acquisition |
Autofocus and capture a z-stack starting at the focused position. |
| Method | create |
Set up the parameters used for all stacks in a scan. |
| Method | new |
Return a new scan planner object. |
| Method | pre |
No autofocus, a looping autofocus on a CChip could corrupt the entire scan. |
| Class Variable | display |
Undocumented |
| Class Variable | overlap |
The fraction that adjacent images should overlap in x and y. |
| Class Variable | stack |
Distance in steps between images in a z-stack. |
| Class Variable | stack |
The number of images to save in a stack. |
| Class Variable | ui |
Undocumented |
| Class Variable | x |
The number of columns in the scan. |
| Class Variable | y |
The number of rows in the scan. |
| Property | settings |
A list of PropertyControl objects to create the settings in the scan tab. |
| Method | _build |
Construct the SettingModel for all_settings. |
| Class Variable | _grid |
Undocumented |
Inherited from RectGridWorkflow:
| Method | all |
Return scan settings and the stitching settings. |
| Method | check |
Before starting a scan, check that camera-stage-mapping is set. |
| Class Variable | autofocus |
The z distance to perform an autofocus in steps. |
| Property | ready |
Whether this scanworkflow is ready to start. |
| Method | _calc |
Use camera stage mapping to calculate x and y displacement from given overlap. |
| Method | _get |
Return a stitching settings model based on current settings. |
| Class Variable | _csm |
Undocumented |
Inherited from ScanWorkflow (via RectGridWorkflow):
| Class Variable | save |
A tuple of the image resolution to capture. |
| Method | _autofocus |
Autofocus and then capture, this can be used as an acquisition routine. |
| Class Variable | _autofocus |
Undocumented |
| Class Variable | _cam |
Undocumented |
| Class Variable | _planner |
Undocumented |
| Class Variable | _settings |
Undocumented |
| Class Variable | _stage |
Undocumented |
CChipScanSettingsModel, xyz_pos: tuple[ int, int, int]) -> tuple[ bool, int | None]:
(source)
¶
Autofocus and capture a z-stack starting at the focused position.
The routine performs a fast autofocus using the provided dz. The focused z-height becomes the starting position for the stack and is also the height of the first captured image.
A stack of self.stack_images_to_save images is then acquired. Each subsequent image is captured after moving the stage upward by self.stack_dz steps in z.
| Parameters | |
settings:CChipScanSettingsModel | The settings for this scan as a CChipSettingsModel |
xyztuple[ | The (x, y, z) position associated with this acquisition. |
| Returns | |
tuple[ | (True, focus_height) where focus_height is the autofocus z-position and the height of the first image in the stack. |
Set up the parameters used for all stacks in a scan.
| Returns | |
StackParams | A StackSmartParams object with the required parameters. |
CChipScanSettingsModel, position: Mapping[ str, int]) -> ScanPlanner:
(source)
¶
Return a new scan planner object.
| Parameters | |
settings:CChipScanSettingsModel | The settings for this scan as the relevant SettingsModel type. |
position:Mapping[ | The starting position as a mapping of axes names to int. |
| Returns | |
ScanPlanner | Undocumented |