mesoSPIM.src.devices.filter_wheels package
Subpackages
Submodules
mesoSPIM.src.devices.filter_wheels.mesoSPIM_FilterWheel module
mesoSPIM Filterwheel classes Authors: Fabian Voigt, Nikita Vladimirov
- class mesoSPIM.src.devices.filter_wheels.mesoSPIM_FilterWheel.DynamixelFilterWheel(*args: Any, **kwargs: Any)[source]
Bases:
Dynamixel
- class mesoSPIM.src.devices.filter_wheels.mesoSPIM_FilterWheel.LudlFilterWheel(*args: Any, **kwargs: Any)[source]
Bases:
QObjectClass to control a 10-position Ludl filterwheel
Needs a dictionary which combines filter designations and position IDs in the form:
- filters = {‘405-488-647-Tripleblock’0,
‘405-488-561-640-Quadrupleblock’: 1, ‘464 482-35’: 2, ‘508 520-35’: 3, ‘515LP’:4, ‘529 542-27’:5, ‘561LP’:6, ‘594LP’:7, ‘Empty’:8,}
If there are tuples instead of integers as values, the filterwheel is assumed to be a double wheel.
I.e.: ‘508 520-35’: (2,3)
- set_filter(filter, wait_until_done=False)[source]
Moves filter using the pyserial command set. No checks are done whether the movement is completed or finished in time.
- wait_until_done_delay
If the first entry of the filterdict has a tuple as value, it is assumed that it is a double-filterwheel to change the serial commands accordingly.
TODO: This doesn’t check that the tuple has length 2.
- class mesoSPIM.src.devices.filter_wheels.mesoSPIM_FilterWheel.SutterLambda10BFilterWheel(comport, filterdict, baudrate=9600, read_on_init=True)[source]
Bases:
object- double_wheel
Delay in s for the wait until done function
- class mesoSPIM.src.devices.filter_wheels.mesoSPIM_FilterWheel.ZwoFilterWheel(*args: Any, **kwargs: Any)[source]
Bases:
QObjectAstronomy filter wheels from https://astronomy-imaging-camera.com