From 5800c96d4e1d5a0346121c83dd2abe96b75b6956 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 27 Mar 2012 13:11:52 -0400 Subject: [PATCH] Fix d -> deflection in bump_analyze.fit() bailout code. --- calibcant/bump_analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2