PYME.Acquire.Utils.tiler module¶
- class PYME.Acquire.Utils.tiler.CircularTiler(scope, tile_dir, max_radius_um=100, tile_spacing=None, dwelltime=1, background=0, evtLog=False, trigger=False, base_tile_size=256, return_to_start=True)¶
Bases:
Tiler
,CircularPointScanner
- Parameters
return_to_start – bool Flag to toggle returning home at the end of the scan. False leaves scope position as-is on scan completion.
- class PYME.Acquire.Utils.tiler.MultiwellCircularTiler(well_scan_radius, x_spacing, y_spacing, n_x, n_y, scope, tile_dir, tile_spacing=None, dwelltime=1, background=0, evtLog=False, trigger=False, base_tile_size=256, laser_state=None)¶
Bases:
object
Creates a circular tiler for each well at a given spacing. For now create a separate tilepyramid for each well.
Creates a new pyramid for each well due to performance constraints.
- Parameters
- well_scan_radius: float
radius to scan within each well [um]
- x_well_spacing: float
center-to-center spacing of each well along x [um]
- y_well_spacing: float
center-to-center spacing of each well along y [um]
- n_x: int
number of rows along x to tile
- n_y: int
number of columns along y to tile
- scope: PYME.Acquire.microscope
- tile_dir: str
directory to store all pyramids
- tile_spacing: float
distance between tile ‘pixels’, i.e. center-to-center distance between the individual tiles.
- dwelltime
- background
- evtLog
- trigger
- base_tile_size
- laser_state: dict
state lasers should be in at the start of each well - lasers are blanked between wells. Should be compatible with PYME.Acquire.microscope.StateManager.setItems
- set_well_positions()¶
Establish x,y center positions of each well to scan. Making the current microscope position the center of the (0, 0) well, which is also the min x, min y well.
- start()¶
- start_next(*args, **kwargs)¶
Creates and starts the tiler for the next well until we’re finished.
- Parameters
- args
- kwargs:
necessary as dispatch calls will include a signal keyword argument
- stop()¶
- class PYME.Acquire.Utils.tiler.Tiler(scope, tile_dir, n_tiles=10, tile_spacing=None, dwelltime=1, background=0, evtLog=False, trigger=False, base_tile_size=256, return_to_start=True, backend='file')¶
Bases:
PointScanner
- Parameters
return_to_start – bool Flag to toggle returning home at the end of the scan. False leaves scope position as-is on scan completion.
- start()¶
- tick(frameData, **kwargs)¶