bicubic_coefficients

sofia_redux.toolkit.image.smooth.bicubic_coefficients(z, dx, dy, dxy, nx, ny)[source]

Returns the coefficients necessary for bicubic interpolation.

Parameters:
znumpy ndarray of float (N,)

The grid points values starting at the lower left and moving counterclockwise.

dxnumpy ndarray of float (N,)

The gradient in dimension 1 evaluated at y.

dynumpy ndarray of float (N,)

The gradient in dimension 2 evaluated at y.

dxynumpy ndarray of float (N,)

The cross derivative evaluated at y.

nxfloat

Number of grid points in the x direction.

nyfloat

Number of grid points in the y direction.

Returns: