Closed aphalo closed 11 months ago
Looking at the raw-counts and the irradiance, the bug seems to be in the computations of irradiance. It is however surprising that the bug is triggered occasionally.
A first step in checking this can be to pass qty.out = "raw"
or qty.out = "cps"
in the call to acq_irrad_interactive()
and check how the 'cps' look like.
Fixed. Setting option to get verbose messages provided a good clue of the problem.
Spectra acquired using
"l"
protocol are occasionaly affected by a large and fixed offset in the dark correction. It is an odd problem as occurence seems random, but causing an extremely consistent shift in dark counts when it happens. Protocol"ld"
is not affected even with long series and using exactly the same settings. Seems difficult to diagnose. I need to work out what is going on.