Mercurial
Mercurial
>
digital_control
/ annotate
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
|
file
|
latest
|
revisions
| annotate |
diff
|
comparison
|
raw
|
help
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
ident/autocov.py
author
Puneeth Chaganti <punchagan@fossee.in>
Fri, 27 May 2011 14:24:59 +0530
changeset 0
0efde00f9229
permissions
-rw-r--r--
Initial commit.
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
0
0efde00f9229
Initial commit.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
1
from scipy import signal
0efde00f9229
Initial commit.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
2
0efde00f9229
Initial commit.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
3
def autocov(y):
0efde00f9229
Initial commit.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
4
l = len(y)
0efde00f9229
Initial commit.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
5
nlags = l
0efde00f9229
Initial commit.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
6
x = signal.correlate