ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/osprai/osprai/trunk/fit_module.py
Links to HEAD: (view) (annotate)
Sticky Revision:
Sort logs by:
Revision 65 - (view) (annotate) - [select for diffs]
Modified Fri May 20 16:33:02 2011 UTC (7 years, 2 months ago) by clausted
File length: 12653 byte(s)
Diff to previous 54
Added much testing to all modules using docstrings and doctest.  To help this, I also added two optional parameters to mclma(), verbose and maxiter.  For example, use "mclma(rois, verbose=False, maxiter=99)" to run the regression up to 99 iterations without echoing progress to the standard output.

Revision 54 - (view) (annotate) - [select for diffs]
Modified Wed Feb 16 21:29:02 2011 UTC (7 years, 6 months ago) by clausted
File length: 11472 byte(s)
Diff to previous 28
Added fit_module and mdl_module to sphinx documentation.
Revision 28 - (view) (annotate) - [select for diffs]
Modified Wed May 19 06:06:07 2010 UTC (8 years, 3 months ago) by clausted
File length: 9619 byte(s)
Diff to previous 27
Changes to params dictionary.  Valid values for 'fixed' are 'fixed' 'float' or an integer.  True and False are no longer acceptable.  Now mutli-ROI curve fitting seems to work!
Revision 27 - (view) (annotate) - [select for diffs]
Modified Wed May 19 01:49:52 2010 UTC (8 years, 3 months ago) by clausted
File length: 9537 byte(s)
Diff to previous 22
New LMA function in fit_module allows us to simultaneously fit parameters to the data in several ROIs that share that parameter.  This is not yet fully tested.  More comments have been added to ba_class.  The __all__ variable has been added to osprai_one to assist the automatic documentation.
Revision 22 - (view) (annotate) - [select for diffs]
Modified Tue Apr 27 07:17:58 2010 UTC (8 years, 3 months ago) by clausted
File length: 8386 byte(s)
Diff to previous 20
The new module osprai_one provides access to the important functions in all of the other modules.  Documentation has been started with osprai_one.html.
Revision 20 - (view) (annotate) - [select for diffs]
Modified Mon Apr 26 21:59:45 2010 UTC (8 years, 3 months ago) by clausted
File length: 8431 byte(s)
Diff to previous 19
Added clma(), a constrained LMA fitting function.  We can now set a lower and upper bound for fitting.  Be sure that the initial estimate is between, not at, the bounds.  It transforms the parameters using x1 = ((b-a)*tanh(x0)+b+a)/2 for the interval (a,b).  
Revision 19 - (view) (annotate) - [select for diffs]
Added Fri Apr 23 01:45:38 2010 UTC (8 years, 3 months ago) by clausted
File length: 2528 byte(s)
Introduction of the fit_module.  This provides ordinary Levenberg-Marquart curvefitting.  The user can choose which model parameters are fixed and which are allowed to float.  Next, we can add a constrained version.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a