AllenNeuralDynamics / exa-spim-control

Acquisition control for the exaSPIM microscope system
MIT License
2 stars 1 forks source link

Update ExA-SPIM laser power control #47

Open adamkglaser opened 1 year ago

adamkglaser commented 1 year ago

ATOF laser line, modulate power based on ao voltage, 0 to 10 V, make it resemble a laser

micahwoodard commented 12 months ago

I've implemented a way to change the voltage in the UI but didn't really have to mockup a laser class for it. I just added 2 function in the config.py to get and set the ao_voltage and then changed the command in the UI. I feel like this was a very simple implementation but doesn't really resemble a laser class. I'm happy to rework it, but might need to chat through how best to implement

micahwoodard commented 12 months ago

Reworked so now the aotf is a separate laser file in exaspim-devices. Added a setup_laser function in exaspim to have a general setup for any laser present in config

micahwoodard commented 11 months ago

Need to make it so it regenerates the waveforms on letting go the laser slider