zern_array

ska_sdp_func_python.calibration.ionosphere_utils.zern_array(nm, x, y, noll_order=False)[source]

Generate an array of all Zernike polynomials up to a given degree.

Parameters:
  • nm – maximum degree. If noll_order is selected, this sets the maximum radial degree (n), otherwise it set the maximum values of n+|m|

  • x – array of cartesian x coordinates

  • y – array of cartesian y coordinates

  • noll_order – whether to limit the Zernike polynomial order by n (True) or n+|m| (False)

Return array of Zernike polynomial values: