error_func¶
-
Data_Reduction.hyperfine_fit.
error_func
(guess, x, data, data_model)¶ - :param guessparameter list::
an estimate of the model parameters of the final solution
- :param xnumpy array of float::
x-values
:param data : numpy array of y-values
:param data_model : function to be fitted
- Returns
numpy array of float:: differences between the data and the model