FittableModel
Defines a model that can be fit
Properties and Methods
__init__(self, parameters, function, pre_fit=False, covariance=None):
@property
parameters(self):
@property
parameter_values(self):
@property
parameter_names(self):
@property
fitted(self):
fit(self, xdata, ydata=None, fitter=None, **methopts):
Fits the model to the data using scipy.optimize.curve_fit or a function that provides the same interface
points
:Any
No description…
methopts
:Any
No description…
:returns
:_
No description…
get_parameter(self, name):
Returns the fitted value of the parameter given by ‘name’
name
:Any
No description…
:returns
:_
No description…
__getitem__(self, item):
evaluate(self, xdata):
__call__(self, xdata):
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings