zernike_azimuthal
- hcipy.mode_basis.zernike_azimuthal(m, theta, cache=None)[source]
The azimuthal component of a Zernike polynomial.
This function optionally caches results of previous calls.
- Parameters:
- mint
The azimuthal Zernike order.
- thetaarray_like
The azimuthal coordinates on which to calculate the polynomial.
- cachedictionary or None
A dictionary containing previously calculated Zernike modes on the same grid. This function is for speedup only, and therefore the cache is expected to be valid. You can reuse the cache for future calculations on the same exact grid. The given dictionary is updated with the current calculation.
- Returns:
- array_like
The azimuthal component of the evaluated Zernike polynomial.