odr_Model

class Stoner.analysis.fitting.odr_Model(*args, **kargs)[source]

Bases: scipy.odr.odrpack.Model

A wrapper for converting lmfit models to odr models.

Attributes Summary

p0

Convert an estimate attribute as p0.

param_names

Convert the meta parameter key param_names to an attribute.

Methods Summary

set_meta(**kwds)

Update the metadata dictionary with the keywords and data provided here.

Attributes Documentation

p0

Convert an estimate attribute as p0.

param_names

Convert the meta parameter key param_names to an attribute.

Methods Documentation

set_meta(**kwds)

Update the metadata dictionary with the keywords and data provided here.

set_meta(name=”Exponential”, equation=”y = a exp(b x) + c”)