Hi John
Sweet! Many thanks for that implementation. As you mention, there is certainly a degradation over time, most noticeably at the start of the measurement. I will play around with the log-log fit and see how it affects the data.
Just one thing a bit weird happening, of which I assume I am not understanding the processing. I have attached a series of images to hopefully explain what I am seeing.
The first image (No TDI.jpeg) is the data for Un19 without aggregation and without TDI on. If I turn on the TDI fit for sp1 (TDI sp1.jpeg) the concentrations on sp1 go crazy and the other spectrometers are normal. Looking at the TDI graph the intensity change is nowhere near enough to add an order of magnitude concentration, even with the log-log fit.
If I turn the TDI on for all spectrometers (TDI all sp.jpeg) they all show crazy concentrations. I assumed it was some strange matrix affect so disabled quant for all but sp1 (TDI sp1 disable quant.jpeg) but sp1 still shows crazy high concentration.
BUT if I aggregate spectrometers with all quanted (TDI all sp aggregate.jpeg) I get normal concentrations with a sensible TDI correction from the uncorrected data. E.g. row 133 goes from 0.01594 to 0.01655 with the TDI turned on, an increase of ~6ppm.
I can use the aggregated data fine, but was wondering if there was any way to see TDI corrected data on the individual spectrometers without aggregation? Hopefully that makes sense.
With regards to the workshop, I will definitely speak to people to see if they are OK with putting the talks online here.
Cheers
EDIT
Ok I noticed that its only with the log-log fit that the numbers go crazy, linear and quadratic they are sensible. However it still doesnt explain why the numbers go normal when you aggregate. For example for Un19, row133, sp1, the y intercept goes from ~3.26 cps/nA with linear fit, to ~3.37 cps/nA with log-log fit. The concentrations though go from 0.0161wt%(linear) to 0.0990wt% (log-log) despite the cps/nA only changing by 0.11 cps/nA?