ewoksxas.fit.lca_fit.FitResult#

class ewoksxas.fit.lca_fit.FitResult(fit, sample, component_matrix, parameter_names)[source]#

Bases: object

Fitting statistics of scipy.optimize.least_squares outputs.

Parameters:
  • fit (MinimizerResult)

  • sample (XYData)

  • component_matrix (ndarray[tuple[int, ...], dtype[float64]])

  • parameter_names (list[str])

property r2: float#

Coefficient of determination of the minimized least-squares solution.

property rmse: float#

Root mean squared error of the minimized least-squares solution.

property sigma: ndarray[tuple[int, ...], dtype[float64]]#

Deviation (standard error) of parameter values at the minimized solution.

property sigma_norm: ndarray[tuple[int, ...], dtype[float64]]#

Normalized deviation of parameter values at the minimized solution.

property solution: ndarray[tuple[int, ...], dtype[float64]]#

Values of parameters at the minimized least-squares solution.

property solution_norm: ndarray[tuple[int, ...], dtype[float64]]#

Normalized values of parameters at the minimized solution.

summary()[source]#

Returns a string formatted fit report generated by lmfit.

Return type:

str