finesse.utilities.polyfit

Functions for fitting polynomials.

Functions

polyfit2d(x, y, z, kx, ky, *[, order, weights])

Two dimensional polynomial fitting by least squares.

polyfit2d_eval(x, y, soln, kx, ky)

Evaluate polynomial fit from polyfit2d()

polyfit2d_index(kx, a, b)

Returns index of polynomial from the result of polyfit2d() for \(x^{a} y^{b}\).

polyfit2d_indices(kx, ky)

Get indicies of polynomials returned by polyfit2d().