quantumion / thorlabs_cube

ARTIQ controller for Thorlabs T/KCube devices
0 stars 0 forks source link

Add dynamic data structure for supported thorlab cube devices #26

Open armaanrasheed opened 1 month ago

armaanrasheed commented 1 month ago

Currently, statically typed comments indicate which devices exist in our ecosystem requiring a change everytime a new one is added. Make a dictionary based device data structure that can contain all of these device names and be dynamically called from the aqctl_thorlabs_cube.py file and elsewhere.

From Issue #20

image

collineps commented 2 weeks ago

https://github.com/quantumion/thorlabs_cube/pull/20#discussion_r1793617938