The LED voltage currently does not get written to the FITS header. For now we get around this in the standard analysis set by putting it in the file name, so it's not an urgent fix, but it's not ideal.
Syntax used in these scripts is:
cam.key('LED='+str(voltage)+'// LED voltage in Volts')
cam.setled(voltage)
where voltage is a float.
Pyarchon output reads:
[DEBUG] command= key LED=1.68// LED voltage in Volts
return= [u'DONE\n']
OK
[DEBUG] command= bias 9 25 1.68
return= [u'DONE\n']
OK
module 9 chan 25 is 1.680000 volts
...and an example of the CameraD log is:
2025-03-27T19:14:43.093432 (FITS_file::add_key) ERROR unknown type: DOUBLE for user keyword: LED=1.68: expected {INT,FLOAT,STRING,BOOL}
The actual LED voltage is set correctly as the LED behavior is as expected, but the FITS header does not get written.
The LED voltage currently does not get written to the FITS header. For now we get around this in the standard analysis set by putting it in the file name, so it's not an urgent fix, but it's not ideal.
Syntax used in these scripts is:
where voltage is a float.
Pyarchon output reads:
...and an example of the CameraD log is:
The actual LED voltage is set correctly as the LED behavior is as expected, but the FITS header does not get written.