Download citation
Download citation
link to html
A statistical method to determine the background level and separate signal from background in a Poisson-distributed background data set is described. The algorithm eliminates the pixel with the highest intensity value in an iterative manner until the sample variance equals the sample mean within the estimated uncertainties. The eliminated pixels then contain signal superimposed on the background, so the integrated signal can be obtained by summation or by a simple extension by profile fitting depending on the user's preferences. Two additional steps remove `outliers' and correct for the underestimated extension of the peak area, respectively. The algorithm can be easily modified to specific needs, and an application on crystal truncation rods is presented, dealing with a sloping background.

Supporting information

pdf

Portable Document Format (PDF) file https://doi.org/10.1107/S0021889813006511/rg5027sup1.pdf
Brief description of the program SBalgorithm

zip

Zip compressed file https://doi.org/10.1107/S0021889813006511/rg5027sup2.zip
SBalgorithm MATLAB code


Follow J. Appl. Cryst.
Sign up for e-alerts
Follow J. Appl. Cryst. on Twitter
Follow us on facebook
Sign up for RSS feeds