cached_zernike1

poppy.zernike.cached_zernike1(j, shape, pixelscale, pupil_radius, outside=nan, noll_normalize=True)[source]

Compute Zernike based on Noll index j, using an LRU cache for efficiency. Refer to the zernike1 docstring for details.

Note: all arguments should be plain ints, tuples, floats etc rather than Astropy Quantities.