PYME.Acquire.Utils.pointScanner module

class PYME.Acquire.Utils.pointScanner.CircularScanner(scope, pixels=10, pixelsize=0.1, evtLog=False, stop_on_complete=False)

Bases: Scanner

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.

genCoords()

Generate coordinates for square ROIs evenly distributed within a circle. Order them first by radius, and then by increasing theta such that the initial position is scanned first, and then subsequent points are scanned in an ~optimal order.

class PYME.Acquire.Utils.pointScanner.PointScanner(scope, pixels=10, pixelsize=0.1, dwelltime=1, background=0, avg=True, evtLog=False, sync=False, trigger=False, stop_on_complete=False, return_to_start=True)

Bases: Scanner

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.

on_frame(frameData, **kwargs)
start()
stop()
class PYME.Acquire.Utils.pointScanner.PointScanner3D(xpiezo, ypiezo, zpiezo, scope, pixels=10, pixelsize=0.1, dwelltime=1, background=0, avg=True, evtLog=False, sync=True)

Bases: object

genCoords()
onTarget()
start()
stop()
tick(caller=None)
class PYME.Acquire.Utils.pointScanner.Scanner(scope, pixels=10, pixelsize=0.1, evtLog=False, stop_on_complete=False, **kwargs)

Bases: object

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.

genCoords()
init_scan()
classmethod n_tiles(pixels=10, **kwargs)
next_pos(idx=None, **kwargs)
property num_tiles
onTarget()
return_home()
stop()