ewoksndreg.math.fit1d#

Functions

cor_from_cov(cov)

fitgaussian(x, data)

gaussian(x, x0, sx, A)

guess_gaussian(x, data)

leastsq(x, data[, guessfunc, fitfunc])

linfit(x, y[, errors, vare])

Linear fit

linfit2(x, y[, errors, vare])

linfit_zerointercept(x, y[, errors, vare])

Linear fit with zero intercept

linfit_zerointercept2(x, y[, errors, vare])

lstsq(A, b[, errors, vare, cove])

Solve the following linear system

lstsq_bound(A, b, lb, ub[, errors, vare])

Solve the following linear system

lstsq_cov(A[, vare, cove])

Covariance matrix of the least squares solution of a linear system.

lstsq_nonnegative(A, b[, errors, vare])

Solve the following linear system

lstsq_std(A[, b, x, vare, cove])

Estimated error of solution to linear system

lstsq_std_indep(A[, b, x, vare])

Estimated error of solution to linear system

nanlinfit(x, y[, errors, vare])

nanlinfit2(x, y[, errors, vare])

xyremovenan(x, y)