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)
commit006e0c1ddcfb4027a905e58a2d6cad3300b37b14
treef28cf33ed080c3a3b03c1577608ebc25dc9d0e85
parent2769849edcb0beea09d489039968836dca2bd68b
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