Probe Software Users Forum

General EPMA => Discussion of General EPMA Issues => Topic started by: Ben Buse on July 23, 2024, 08:32:30 AM

Title: R code examining errors and detection limits for map with fixed background
Post by: Ben Buse on July 23, 2024, 08:32:30 AM
Hi, in case of interest/use

A long bit of code for R calculating detection limits and errors for a map, it's interesting when you consider situations where the error on peak (number of pixels of peak map averaged) can become smaller than the error on the background (a series of quant points - if a few points are taken)

The code reads
1. background quant points - reading count intensities.
2. background quant points - reading kraw, count times, analytical conditions, std assign
3. map setup file - for map analytical condtions

Code attached
Title: Re: R code examining errors and detection limits for map with fixed background
Post by: John Donovan on July 23, 2024, 08:59:07 AM
Very nice Ben.

Note that one can also quickly obtain both detection limits (in wt%) and analytical sensitivity (in one sigma relative percent units) for quant x-ray maps in CalcImage by just checking the boxes in the Project | Specify Quantitative Parameters menu dialog:

https://smf.probesoftware.com/index.php?topic=393.msg9220#msg9220

https://smf.probesoftware.com/index.php?topic=1452.0