pol2cart

mmtwfs.zernike.pol2cart(polarr)[source]

Convert array of [rho, theta] vectors to [x, y]

Parameters:
polarrndarray

2D array with rho as the 0th element and theta as the 1st element.

Returns:
arrndarray

2D array with x vector as 0th element and y vector as 1st element.