projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d3854b
)
Remove debugging print command from hooke.util.calculus.derivative
author
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 04:41:11 +0000
(
00:41
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 04:41:11 +0000
(
00:41
-0400)
hooke/util/calculus.py
patch
|
blob
|
history
diff --git
a/hooke/util/calculus.py
b/hooke/util/calculus.py
index 1c9cea78b22cde7fbe2fea507aa42a42f91f3b32..ca60ce0ef003dbaeac9e98b18f043602ae04feab 100644
(file)
--- a/
hooke/util/calculus.py
+++ b/
hooke/util/calculus.py
@@
-115,7
+115,6
@@
def derivative(data, x_col=0, f_col=1, weights={-1:-0.5, 1:0.5}):
for j in range(1,zero+1):
chunk[zero-j] = 2*chunk[zero] - chunk[zero+j]
chunks.append(chunk)
- print chunks
output[:,0] = data[:,x_col]
output[:,1] = sum(chunks)
return output