oscarbranson / latools

Tools for the reproducible reduction of LA-ICPMS data.
http://latools.readthedocs.io
MIT License
15 stars 10 forks source link

Background Calculation on a Long Data File #71

Closed nsekhon91 closed 2 years ago

nsekhon91 commented 3 years ago

Dear LaTools Coders,

Thank you for making a useful package that helps reduce LA-ICP-MS data.

I am currently trying to reduce a relative large run (just over an hour with standards and unknowns). I have been able to use the long_data file example to split the data and read it in with the REPRODUCE configurations. See first image.

I am now trying to calculate the background and working between using the interpolation and the Gaussian moving average methods. See second image for the interpolation based background calculation. The image looks strange and I am not sure what is happening. I am able to subtract the background and get ratios and calibration plots with NIST612 as the standard.

However, I am not sure if the background function is working correctly for such a long dataset. I was wondering if you would have any insight or thoughts on to proceed?

Best, Natasha

Screen Shot 2021-11-12 at 1 30 30 PM

background(1)