Closed Chriscrossing closed 1 year ago
I bet I just beefed up the saving function somewhere
Found the error, in the initialization of the wavelength array, I had initially rounded the array to 3dp due to the TLS having a issue with strings passed to it with more than 3dp (because it only has pico-meter resolution) so I've removed that code for the continuous scanning function.
Seems to be some sort of rounding error in the GUI saving functions, where everything is rounded to 1pico-meter. Initially, I thought this was a bug with scanning faster than the PM100D analogue output could handle but when re-making the wavelength array using np.linspace() it produces a reasonable spectra.
Here is the spectra strait from the .csv file:-
Here is the spectra after remaking the wavelength array:-