desc.geometry.ZernikeRZToroidalSection.compute_coordinates

ZernikeRZToroidalSection.compute_coordinates(R_lmn=None, Z_lmn=None, grid=None, dr=0, dt=0, basis='rpz')[source]

Compute values using specified coefficients.

Parameters:
  • R_lmn (array-like) – zernike coefficients for R, Z. Defaults to self.R_lmn, self.Z_lmn

  • Z_lmn (array-like) – zernike coefficients for R, Z. Defaults to self.R_lmn, self.Z_lmn

  • grid (Grid or array-like) – toroidal coordinates to compute at. Defaults to self.grid If an integer, assumes that many linearly spaced points in (0,1)x(0,2pi)

  • dr (int) – derivative order to compute in rho, theta

  • dt (int) – derivative order to compute in rho, theta

  • basis ({"rpz", "xyz"}) – coordinate system for returned points

Returns:

values (ndarray, shape(k,3)) – R, phi, Z or x, y, z coordinates of the surface at points specified in grid