python-microscope / microscope

Python library for control of microscope devices, supporting hardware triggers and distribution of devices over the network for performance and flexibility.
https://www.python-microscope.org
GNU General Public License v3.0
67 stars 39 forks source link

Enabling digitally triggered Z stacks #175

Closed iandobbie closed 3 years ago

iandobbie commented 3 years ago

We need a new standard exported function for stages which can do digital Z stacks.

XX.digital_zstack_setup(initial pos, step size, number of steps):

This should program a Z controller to step the required amount on each digital trigger, maybe limit to the specified number of repeats.

We probably also need a end_digital_zstack() to disable this behaviour. These functions will be used by cockpit to perform digital Z stacks, see https://github.com/MicronOxford/cockpit/issues/691.

I plan to try and implement this on the zaber system to see that it works.

iandobbie commented 3 years ago

Zaber implmentation in #188