From e4373b7761d709c460dfe873358f8ea5b4e1a350 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 11 Aug 2010 09:57:19 -0400 Subject: [PATCH] Remove post-fit L/N conversions from polymer_fit.py (handled in .fit() now). --- hooke/plugin/polymer_fit.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hooke/plugin/polymer_fit.py b/hooke/plugin/polymer_fit.py index f4afb2a..2ea503c 100644 --- a/hooke/plugin/polymer_fit.py +++ b/hooke/plugin/polymer_fit.py @@ -1011,8 +1011,7 @@ Name (without units) for storing the fit parameters in the `.info` dictionary. a = info['Kuhn length (m)'] else: a = params[1] - Lp = params[0] - L = model.L(Lp) + L = params[0] T = info['temperature (K)'] fit_info = queue.get(block=False) f_data = numpy.ones(z_data.shape, dtype=z_data.dtype) * numpy.nan @@ -1039,8 +1038,7 @@ Name (without units) for storing the fit parameters in the `.info` dictionary. a = info['Kuhn length (m)'] else: a = params[1] - Nr = params[0] - N = model.L(Nr) + N = params[0] T = info['temperature (K)'] fit_info = queue.get(block=False) f_data = numpy.ones(z_data.shape, dtype=z_data.dtype) * numpy.nan @@ -1066,8 +1064,7 @@ Name (without units) for storing the fit parameters in the `.info` dictionary. p = info['persistence length (m)'] else: p = params[1] - Lp = params[0] - L = model.L(Lp) + L = params[0] T = info['temperature (K)'] fit_info = queue.get(block=False) f_data = numpy.ones(z_data.shape, dtype=z_data.dtype) * numpy.nan -- 2.26.2