exa.core.util.model_functions.get_parabola_fitter#
- get_parabola_fitter(a_guess=None, x_offset_guess=None, y_offset_guess=None)#
Generates 1d parabola fitter function.
The data is fitted to the model \(y(x) = A * (x - x_offset)^2 + y_offset\), where \(A\) = amplitude, \(x_offset\) = offset in the x-axis and \(y_offset\) = offset in the y-axis.
- Parameters:
- Returns:
function for fitting data to an oscillation model
- Return type: