allan v3.0

allan.m calculates normal, modified and timed Allan deviations of time series in one function
5.5K Downloads
Updated 12 Feb 2010

View License

Compute various Allan deviations for a constant-rate time series, therein normal, modified and timed Allan deviations of time series in one function.
[AVAR]=allan(DATA, TAU)
Inputs are a simple struct containing time series and rate, the outputs contain the assigned Allan deviations.

NOTES:
Calculations of modified and timed Allan deviations for very long time series might become slow. It is advisable to uncomment .msig* and .tsig*, only after calculations of .sig*, .sig2* and .osig* have been proven sufficiently fast.

No pre-processing of the data is performed.
For constant-rate time series, the deviations are only calculated for tau values greater than the minimum time between samples and less than half the total time.

FCz OCT2009
v3.0 faster and very plain code, no plotting; various Allan deviations
can be calculated; script and sample data are availabie on
www.nbi.dk/~czerwin/files/allan.zip
(Normal, overlapping and modified Allan deviations are calculated in one
function, in strong contrast to MAHs approach of splitting up among various
functions. This might be beneficial for individual cases though.)

MAH 2009/2010
v2.0 and others

FCz OCT2008
v1.71 'lookfor' gives now useful comments; script and sample data are
availabie on www.nbi.dk/~czerwin/files/allan.zip
v1.7 Improve program performance by mainly predefining matrices outside
of loops (avoiding memory allocation within loops); no changes to manual

early program core by Alaa MAKDISSI 2003
(documentation might be found http://www.alamath.com/)
revision and modification by Fabian CZERWINSKI 2009

For more information, see:
[1] Fabian Czerwinski, Andrew C. Richardson, and Lene B. Oddershede,
"Quantifying Noise in Optical Tweezers by Allan Variance," Opt. Express 17, 13255-13269 (2009), http://dx.doi.org/10.1364/OE.17.013255

The screenshot shows the use of allan v3.0 in
[2] Fabian Czerwinski, Andrew C. Richardson, Christine Selhuber-Unkel, and Lene B. Oddershede, “Allan Variance Analysis as Useful Tool to Determine Noise in Various Single-Molecule Setups,” Proc. SPIE, Vol. 7400, 740004 (2009), http://dx.doi.org/10.1117/12.827975

Cite As

Fabian Czerwinski (2024). allan v3.0 (https://www.mathworks.com/matlabcentral/fileexchange/26659-allan-v3-0), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0