smpl.fit¶
Simplified Fitting.
Uses scipy.curve_fit (no x errors) or scipy.odr (with x errors).
Functions
|
Chi2 - Goodness of Fit |
|
R2 - Coefficient of determination |
|
Automatically loop over functions and fit the best one. |
|
Split data + errors |
|
Returns a fit of |
|
Set default |
|
Splits datax and datay into (x,y,xerr,yerr). |
|
Return the nominal values of the numbers in NumPy array arr. |
|
Return the standard deviations of the numbers in NumPy array arr. |
Classes
|
Different implementations to perform a fit. |
|
The Model class stores information about the function you wish to fit. |
|
The ODR class gathers all information and coordinates the running of the main fitting routine. |
|
The data, with weightings as actual standard deviations and/or covariances. |
|
Decorate an iterable object, returning an iterator which acts exactly like the original iterable, but prints a dynamically updating progressbar every time a value is requested. |
Exceptions
Generic Python-exception-derived object raised by linalg functions. |