exa.core.util.model_functions.get_line_fitter# get_line_fitter(slope_estimate=1, offset_estimate=0, **curve_fit_kwargs)# Returns a 1d line fitter. The data is fitted to the model y(x) = slope * x + offset. Parameters: slope_estimate (float) – initial guess for slope offset_estimate (float) – initial guess for offset curve_fit_kwargs – passed to curve_fit. Returns: function for fitting data to a linear model Return type: Callable[[ndarray | Iterable, ndarray | Iterable], tuple[dict, ndarray]]