Open raacampbell opened 1 year ago
Even easier than the GUI: dfd338c990a62b3bd5a7c93fd7c1010ba559a2cd This quick function generates the laser calibration .mat file
This is now working well with changes from Vidrio. The last thing that is not working is that Vidrio maybe can not update the mW in the BEAM CONTROLS window when laser changes wavelength. If so, we could just set laser to a default power whenever wavelength is changed. That will ensure the power always alters and so the value in the GUI does also.
It all works as expected now. Last thing is to remove the old crappy way of displaying laser power.
Has this been removed?
4deeabfc6b2ee77782f4b8ca64cd4228b8338750 Relies on the user creating structures:
In a
laser_calibration
directory underSETTINGS
and naming themlaserPower_800.mat
,laserPower_920.mat
, etc.The displayed power in the beam widget is not currently refreshed when the new settings load. Still need to explore how well that will work. Once we are happy with that, we will need to create a GUI for making these files, as without such a GUI the process will be too annoying for anyone to adopt.
The GUI can just have a table with a line per settings file. A way of deleting lines (and so files) and way of entering a new file.