diff options
author | Alexandre Gramfort <alexandre.gramfort@inria.fr> | 2011-08-14 20:18:37 -0400 |
---|---|---|
committer | Alexandre Gramfort <alexandre.gramfort@inria.fr> | 2011-08-14 20:18:37 -0400 |
commit | 83de333b65ee5f3da656d65602e95ed701464d23 (patch) | |
tree | 57df665438558d8e3df06dfef1142c38f79ad5b7 | |
parent | df28575801dfacac9f548c7c955b98f882173ec4 (diff) |
FIX: introduced by previous commit
-rw-r--r-- | nitime/algorithms/autoregressive.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nitime/algorithms/autoregressive.py b/nitime/algorithms/autoregressive.py index d099099..108028b 100644 --- a/nitime/algorithms/autoregressive.py +++ b/nitime/algorithms/autoregressive.py @@ -158,7 +158,7 @@ def AR_est_LD(x, order, rxx=None): w_k = (rxx_m[p] - (w[1:p] * rxx_m[1:p][::-1]).sum()) / b # update w_k from k=1,2,...,p-1 # with a correction from w*_i i=p-1,p-2,...,1 - w[1:p] -= w[1:p] - w_k * w[1:p][::-1].conj() + w[1:p] = w[1:p] - w_k * w[1:p][::-1].conj() w[p] = w_k p += 1 b *= 1 - (w_k * w_k.conj()).real |