desc.geometry.FourierRZToroidalSurface.compute_coordinates
- FourierRZToroidalSurface.compute_coordinates(R_lmn=None, Z_lmn=None, grid=None, dt=0, dz=0, basis='rpz')[source]
Compute values using specified coefficients.
- Parameters:
R_lmn (array-like) – fourier coefficients for R, Z. Defaults to self.R_lmn, self.Z_lmn
Z_lmn (array-like) – fourier 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,2pi)
dt (int) – derivative order to compute in theta, zeta
dz (int) – derivative order to compute in theta, zeta
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