projects
/
calibcant.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78d7a2d
)
Fix d -> deflection in bump_analyze.fit() bailout code.
author
W. Trevor King
<wking@drexel.edu>
Tue, 27 Mar 2012 17:11:52 +0000
(13:11 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 27 Mar 2012 17:11:52 +0000
(13:11 -0400)
calibcant/bump_analyze.py
patch
|
blob
|
history
diff --git
a/calibcant/bump_analyze.py
b/calibcant/bump_analyze.py
index 140add37fc05485bf6670751998e8265f23b00bd..7601cadb91b97692170c0d94f9bef5dbf1e61076 100644
(file)
--- a/
calibcant/bump_analyze.py
+++ b/
calibcant/bump_analyze.py
@@
-320,7
+320,7
@@
def fit(z, deflection, high_voltage_rail,
except ValueError:
zd = _numpy.ndarray(list(z.shape) + [2], dtype=z.dtype)
zd[:,0] = z
- zd[:,1] = d
+ zd[:,1] = d
eflection
_numpy.savetxt('/tmp/z-deflection.dat', zd, delimiter='\t')
raise
_LOG.debug('fitted params: %s' % p)