Release Notes
1.1.0 (2024-12-25) - Major Refactoring
Key Changes to FitResult:
FitResultis no longer a subclass oftuple. To achieve similar behavior and unpackresandres_func, use the new methodfit_result.res_and_func().- All parameters are now directly accessible as attributes. Accessing parameters via
fit.resis still possible but can be deprecated in the future. - The
resas np.ndarray is now accessible viafit.res_array. - The
FitArrayResultstructure has been refactored and is now unified withFitResult. - Results in
FitResultare guaranteed to never beNone. If the fit fails, each parameter will returnnp.nan, and thesuccessattribute will be set toFalse.
Other Changes:
array_fitcan now be applied to any axes, offering greater flexibility.- Each implemented fit function now has a dedicated result class with predefined slots and custom methods.
- The
leastsqmethod has been removed. Without specifying an exact function, theFitResultfor classicalleastsqbecomes useless. Usecurve_fitinstead, specifyingmethod='leastsq'.
Normally these changes only affect you if you unpack the FitResult before. We apologize for any inconvenience, but we believe these changes will improve the package's usability in the long run and should be made as soon as possible.
1.0.0 (2024-11-16)
- Automatic documentation generation for each function.
- Automated testing for all functions.
- New guide available for creating custom functions.
0.2.0 (2024-08-28)
- Beta version of the package.