ZernikeAnnularGrad

lsst.ts.wep.utils.ZernikeAnnularGrad(z, x, y, e, axis)

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”.

Returns:
numpy.ndarray

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

Raises:
ValueError

Raise error for invalid axis argument