We don't seem to need to guess the scale in SurfacePositionModel
authorW. Trevor King <wking@drexel.edu>
Wed, 11 Aug 2010 13:31:58 +0000 (09:31 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 11 Aug 2010 13:31:58 +0000 (09:31 -0400)
hooke/plugin/vclamp.py

index 78a46147f96277be9fab2a45153ee28512657320..5ffba75b5585c02e96d31260326782aeabfb25d8 100644 (file)
@@ -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.