oscarbranson / latools

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

bkg_subtract fails with negative background stderr #45

Closed adburnham closed 5 years ago

adburnham commented 5 years ago

uncertainties on backgrounds should never be negative...

oscarbranson commented 5 years ago

Negative value occurred because of use of extrapolation outside valid x values in background interpolation.

Replaced extrapolation with first/last value repetition, now fixed in dev.