From: W. Trevor King Date: Wed, 11 Aug 2010 13:57:19 +0000 (-0400) Subject: Remove post-fit L/N conversions from polymer_fit.py (handled in .fit() now). X-Git-Url: http://git.tremily.us/?p=hooke.git;a=commitdiff_plain;h=e4373b7761d709c460dfe873358f8ea5b4e1a350 Remove post-fit L/N conversions from polymer_fit.py (handled in .fit() now). --- 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