A fast algorithm for calculation of Thêo1

Lewis, Ben (2020) A fast algorithm for calculation of Thêo1. IEEE Transactions on Ultrasonics, Ferroelectrics and Frequency Control, 67 (10). pp. 2187-2190. ISSN 0885-3010 (https://doi.org/10.1109/TUFFC.2020.2996313)

[thumbnail of Lewis-IEEE-TUFFC-2020-A-fast-algorithm-for-calculation-of-Theo1]
Text. Filename: Lewis_IEEE_TUFFC_2020_A_fast_algorithm_for_calculation_of_Theo1.pdf
Accepted Author Manuscript

Download (446kB)| Preview


Thêo1 is a frequency stability statistic that is similar to the Allan variance but can provide stability estimates at longer averaging factors and with higher confidence. However, the calculation of Thêo1 is significantly slower than that of the Allan variance, particularly for large data sets, due to a worse computational complexity. A faster algorithm for calculating the "all- τ " version of Thêo1 is developed by identifying certain repeated sums and removing them with a recurrence relation. The new algorithm has a reduced computational complexity, which is equal to that of the Allan variance. Computation time is reduced by orders of magnitude for many data sets. The new, faster algorithm does introduce an error due to accumulated floating-point errors in very large data sets. The error can be compensated for by increasing the numerical precision used at critical steps. The new algorithm can also be used to increase the speed of ThêoBr and ThêoH that are more sophisticated statistics derived from Thêo1.