Skip to content

Integrate a detector signal and estimate uncertainty in the presence of background and noise

Notifications You must be signed in to change notification settings

nkschlos/Integrate-Detector-Signal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Integrate-Detector-Signal

Integrate pulse-like features on a signal and estimate uncertainty in the presence of background and noise. Examples of uses include a pulse on a photodetector or PMT, ions arriving on a MCP, etc.

Demonstration

An example of the algorithm on a generated signal, a normalized Gaussian with noise and offset. No initial guesses are given.

image

The same test is run many times on with different noise to evaluate performance.

image

On the right is the percent of simulations that fell within n errorbars from their value. Agreement with the theoretical curve indicates that the uncertainty given by the algorithm is an accurate 1 σ uncertainty of the estimate.

Notes

While a normal distribution is fitted to find the approximate location width and location of the pulse, it is not used in the integral. As such, there is no requirement that the feature be gaussian in nature. The algorithm will work as long as the feature is pulse-like and as long as no other large features are in the dataset. If your data does have other features, I recommend trimming the data fed into the code or masking out the other features before processing.

About

Integrate a detector signal and estimate uncertainty in the presence of background and noise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages