ZernikeGrad

lsst.ts.wep.cwfs.ZernikeGrad(z, x, y, axis, nMax=None)

Evaluate the gradient of Zernike polynomials in a certain axis.

Parameters:
znumpy.ndarray

Coefficient of Zernike polynomials.

xnumpy.ndarray

X coordinate on pupil plane.

ynumpy.ndarray

Y coordinate on pupil plane.

axisstr

Integration direction. It can be “dx” or “dy”.

nMaxint, deprecated

Maximum number of Zernike terms. Unused.

Returns:
numpy.ndarray

Integration elements of gradient part in pupil x and y directions.