From 52848cc8c0fa5eb6210fb2380fc6931794794684 Mon Sep 17 00:00:00 2001 From: Anders Wallin Date: Sun, 3 Dec 2023 21:56:02 +0200 Subject: [PATCH] docs --- allantools/allantools.py | 6 +++--- examples/weights_figure.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/allantools/allantools.py b/allantools/allantools.py index a39397e..fc4ea78 100644 --- a/allantools/allantools.py +++ b/allantools/allantools.py @@ -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 diff --git a/examples/weights_figure.py b/examples/weights_figure.py index 0d2fbd8..fc2c86f 100644 --- a/examples/weights_figure.py +++ b/examples/weights_figure.py @@ -75,7 +75,7 @@ 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 @@ -83,7 +83,7 @@ def Homega(f, tau): 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}$')