From fdf4a81ce1eaf89dd741dbd6150a2827e4e9daee Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 11 Aug 2010 09:31:58 -0400 Subject: [PATCH] We don't seem to need to guess the scale in SurfacePositionModel --- hooke/plugin/vclamp.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/hooke/plugin/vclamp.py b/hooke/plugin/vclamp.py index 78a4614..5ffba75 100644 --- a/hooke/plugin/vclamp.py +++ b/hooke/plugin/vclamp.py @@ -179,22 +179,6 @@ class SurfacePositionModel (ModelFitter): params = params[:-1] return params - def guess_scale(self, params, outqueue=None): - """Guess the parameter scales. - - Notes - ----- - We the scale as one tenth for each parameter. - """ - offset_scale = 0.1 - left_slope_scale = 0.1 - kink_scale = 0.1 - right_slope_scale = 0.1 - scale = [offset_scale, left_slope_scale, kink_scale, right_slope_scale] - if self.info['force zero non-contact slope'] == True: - scale = scale[:-1] - return scale - def fit(self, *args, **kwargs): """Fit the model to the data. -- 2.26.2