Examples from the documentationΒΆ

Below are all the examples that are part of the lmfit documentation.

Model - savemodel

Model - savemodel

Model - savemodelresult

Model - savemodelresult

Confidence - basic

Confidence - basic

Model - loadmodelresult

Model - loadmodelresult

Model - loadmodelresult2

Model - loadmodelresult2

Model - gaussian

Model - gaussian

Model - loadmodel

Model - loadmodel

Model - with nan policy

Model - with nan policy

Builtinmodels - stepmodel

Builtinmodels - stepmodel

Model - uncertainty

Model - uncertainty

Model - two components

Model - two components

Fitting - withreport

Fitting - withreport

Model - savemodelresult2

Model - savemodelresult2

Builtinmodels - nistgauss2

Builtinmodels - nistgauss2

Model - with iter callback

Model - with iter callback

Parameters - valuesdict

Parameters - valuesdict

Builtinmodels - peakmodels

Builtinmodels - peakmodels

Builtinmodels - nistgauss

Builtinmodels - nistgauss

Parameters - basic

Parameters - basic

Model - composite

Model - composite

Builtinmodels - splinemodel

Builtinmodels - splinemodel

Confidence - advanced

Confidence - advanced

Parameters - uvars

Parameters - uvars

Model - uncertainty2

Model - uncertainty2

Fitting - emcee

Fitting - emcee

Confidence - chi2 maps

Confidence - chi2 maps

Model - uncertainty pred

Model - uncertainty pred