From: W. Trevor King Date: Wed, 11 Aug 2010 13:31:58 +0000 (-0400) Subject: We don't seem to need to guess the scale in SurfacePositionModel X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fdf4a81ce1eaf89dd741dbd6150a2827e4e9daee;p=hooke.git We don't seem to need to guess the scale in SurfacePositionModel --- 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.