Skip to content

Commit

Permalink
ttotdev eqn
Browse files Browse the repository at this point in the history
  • Loading branch information
aewallin committed Dec 3, 2023
1 parent b31186c commit 4d49ab0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions allantools/allantools.py
Expand Up @@ -847,9 +847,11 @@ def totdev(data, rate=1.0, data_type="phase", taus=None):
.. math::
x^*_{1-j} = 2x_1 - x_{1+j} for j=1..N-2
x^*_i = x_i for i=1..N
x^*_{N+j} = 2x_N - x_{N-j} for j=1..N-2
x^*_{1-j} = 2x_1 - x_{1+j} \quad \textrm{for} j=1..N-2
x^*_i = x_i \quad \textrm{for} i=1..N
x^*_{N+j} = 2x_N - x_{N-j} \quad \textrm{for} j=1..N-2
FIXME: bias correction http://www.wriley.com/CI2.pdf page 5
Expand Down Expand Up @@ -920,6 +922,11 @@ def ttotdev(data, rate=1.0, data_type="phase", taus=None):
""" Time Total Deviation
Modified total variance scaled by :math:`\\tau^2 / 3`
.. math::
\\sigma^2_{TTOTDEV}( \\tau ) = { \\tau^2 \\over 3 }
\\sigma^2_{TOTDEV}( \\tau )
Note that [SP1065]_ erroneously has tau-cubed here (!).
Expand Down

0 comments on commit 4d49ab0

Please sign in to comment.