projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55b36a4
)
We don't seem to need to guess the scale in SurfacePositionModel
author
W. Trevor King
<wking@drexel.edu>
Wed, 11 Aug 2010 13:31:58 +0000
(09:31 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 11 Aug 2010 13:31:58 +0000
(09:31 -0400)
hooke/plugin/vclamp.py
patch
|
blob
|
history
diff --git
a/hooke/plugin/vclamp.py
b/hooke/plugin/vclamp.py
index 78a46147f96277be9fab2a45153ee28512657320..5ffba75b5585c02e96d31260326782aeabfb25d8 100644
(file)
--- a/
hooke/plugin/vclamp.py
+++ b/
hooke/plugin/vclamp.py
@@
-179,22
+179,6
@@
class SurfacePositionModel (ModelFitter):
params = params[:-1]
return params
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.
def fit(self, *args, **kwargs):
"""Fit the model to the data.