zernikeEval

lsst.ts.wep.utils.zernikeEval(u: ndarray, v: ndarray, zkCoeff: ndarray, obscuration: float = 0.612) None

Evaluate the Zernike series.

This function is evaluated at the provided u and v coordinates, where these coordinates are normalized pupil coordinates. Normalized pupil coordinates are defined such that u^2 + v^2 = 1 is the edge of the pupil, and u^2 + v^2 = obscuration^2 is the edge of the central obscuration.

Parameters:
unp.ndarray

The x normalized pupil coordinate(s).

vnp.ndarray

The y normalized pupil coordinate(s). Must be same shape as u.

zkCoeffnp.ndarray

Zernike coefficients for Noll indices >= 4, in any units.

obscurationfloat, optional

The fractional obscuration. (the default is 0.612, corresponding to the Simonyi Survey Telescope.)

Returns:
np.ndarray

Values of the Zernike series at the given points. Has the same shape as u and v, and the same units as zkCoeff.