ZernikeAnnularGrad

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

Evaluate the gradient of annular Zernike polynomials in a certain direction.

Parameters:
znumpy.ndarray

Coefficient of annular Zernike polynomials.

xnumpy.ndarray

X coordinate on pupil plane.

ynumpy.ndarray

Y coordinate on pupil plane.

efloat

Obscuration value. It is 0.61 in LSST.

axisstr

It can be “dx”, “dy”, “dx2”, “dy2”, or “dxy”.

nMaxint, deprecated

Maximum number of Zernike terms. Unused.

Returns:
numpy.ndarray

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

Raises:
ValueError

Raise error for invalid axis argument