Home | Trees | Indices | Help |
---|
|
Simple minimizer is a wrapper around scipy.leastsq, allowing a user to build a fitting model as a function of general purpose Fit Parameters that can be fixed or floated, bounded, and written as a simple expression of other Fit Parameters. The user sets up a model in terms of instance of Parameters, writes a function-to-be-minimized (residual function) in terms of these Parameters. Copyright (c) 2011 Matthew Newville, The University of Chicago <newville@cars.uchicago.edu>
|
|||
MinimizerException General Purpose Exception |
|||
Minimizer general minimizer |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
HAS_SCALAR_MIN = True
|
|||
__package__ =
|
|
given values for variables, calculate object value. This is used by the uncertainties package to calculate the uncertainty in an object even with a complicated expression. |
evaluate uncertainty and set .stderr for a parameter `obj` given the uncertain values `uvars` (a list of uncertainties.ufloats), a list of parameter names that matches uvars, and a dict of param objects, keyed by name. This uses the uncertainties package wrapped function to evaluate the uncertainty for an arbitrary expression (in obj.ast) of parameters. |
nach A function which takes a function a makes a parameters-dict for it. Takes the function fcn. A starting guess x0 for the non kwargs paramter must be also given. If kwargs are used, used_kwargs is dict were the keys are the used kwarg and the values are the starting values. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Nov 7 18:01:56 2016 | http://epydoc.sourceforge.net |