mesoSPIM.src.devices.shutters package

Submodules

mesoSPIM.src.devices.shutters.Demo_Shutter module

class mesoSPIM.src.devices.shutters.Demo_Shutter.Demo_Shutter(shutterline)[source]

Bases: object

close(*args)[source]
open(*args)[source]
state(*args)[source]

mesoSPIM.src.devices.shutters.NI_Shutter module

mesoSPIM Module for controlling a shutter via NI-DAQmx Author: Fabian Voigt #TODO

class mesoSPIM.src.devices.shutters.NI_Shutter.NI_Shutter(shutterline)[source]

Bases: object

Slow shutter, intended more as a gating device than a fast open/close because the NI task is recreated and deleted every time a shutter is actuated.

Thus, the shutter has more a “gating” function to protect the sample than fast control of the laser, this is done via the laser intensity anyway.

This uses the property of NI-DAQmx-outputs to keep their last digital state or analog voltage for as long the device is not powered down.

close(*args)[source]
open(*args)[source]
state(*args)[source]

Returns “True” if the shutter is open, otherwise “False”

Module contents