Additional cleanups in fit.py
authorW. Trevor King <wking@drexel.edu>
Wed, 2 Jun 2010 02:10:36 +0000 (22:10 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 2 Jun 2010 02:10:36 +0000 (22:10 -0400)
commit6137a8fc62d08cb28c540ad86524b37246511525
treef28cf33ed080c3a3b03c1577608ebc25dc9d0e85
parent77b97054f4fb880b6641cf73d7a7062f1901bc81
Additional cleanups in fit.py

* Added outqueue to tests, which turned up an 'outqeue' typo.
* Store info in .set_data().  This allows subclasses to write
  data-specific information when the data changes.
* .guess_scale() returns Null by default.  This tells leastsq to use
  its internal scale estimating magic.
* Added strictly positive scale assertion.  The error message returned
  by leastsq for zero or negative scales isn't very obvious.
hooke/util/fit.py