fitwise#
One call. One fit. One report you can trust.
Warning
fitwise is in alpha. The API may still change before 1.0.
fitwise is an ergonomic layer over lmfit and
SciPy for curve fitting in the lab.
import fitwise as fw
result = fw.fit(fw.models.gaussian, x, y, yerr=dy)
print(result)
result.plot()
Where to go next#
Quickstart: installation, a first fit, reading the report
Models: built-in models, your own functions, composition, starting values
Uncertainties and warnings: what the error bars mean, χ²/ndf, warnings
Outliers and robust fits: fits that resist outliers
Examples: complete fits from typical lab experiments