Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aewallin committed Dec 3, 2023
1 parent 24e3270 commit 52848cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions allantools/allantools.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,11 +847,11 @@ def totdev(data, rate=1.0, data_type="phase", taus=None):
.. math::
x^*_{1-j} = 2x_1 - x_{1+j} \\quad \\text{for} j=1..N-2
x^*_{1-j} = 2x_1 - x_{1+j} \\quad \\text{for} \\quad j=1..N-2
x^*_i = x_i \\quad \\text{for} i=1..N
x^*_i = x_i \\quad \\text{for} \\quad i=1..N
x^*_{N+j} = 2x_N - x_{N-j} \\quad \\text{for} j=1..N-2
x^*_{N+j} = 2x_N - x_{N-j} \\quad \\text{for} \\quad j=1..N-2
FIXME: bias correction http://www.wriley.com/CI2.pdf page 5
Expand Down
4 changes: 2 additions & 2 deletions examples/weights_figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ def Homega(f, tau):
#%%

t = numpy.linspace(-5,8,50000)
f = numpy.linspace(0,3,500)
f = numpy.linspace(0,5,500)

dt = min( numpy.diff(t) )
tau = 1.0
W_pi = [Wpi(x,tau) for x in t]
W_lam = [Wlambda(x,tau) for x in t]
W_om = [Womega(x,tau) for x in t]
WX_om = [WXomega(x,tau) for x in t]
W_tri = [WT(x,tau) for x in t]
#W_tri = [WT(x,tau) for x in t]
plt.figure()
plt.subplot(3,3,1)
plt.plot(t, W_pi,'b',label='$w_{\Pi}$')
Expand Down

0 comments on commit 52848cc

Please sign in to comment.