From: W. Trevor King Date: Tue, 27 Mar 2012 17:11:52 +0000 (-0400) Subject: Fix d -> deflection in bump_analyze.fit() bailout code. X-Git-Tag: 0.8~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5800c96d4e1d5a0346121c83dd2abe96b75b6956;p=calibcant.git Fix d -> deflection in bump_analyze.fit() bailout code. --- diff --git a/calibcant/bump_analyze.py b/calibcant/bump_analyze.py index 140add3..7601cad 100644 --- 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] = deflection _numpy.savetxt('/tmp/z-deflection.dat', zd, delimiter='\t') raise _LOG.debug('fitted params: %s' % p)