desc.profiles.ScaledProfile.compute

ScaledProfile.compute(grid, params=None, dr=0, dt=0, dz=0)Source

Compute values of profile at specified nodes.

Parameters:
  • grid (Grid) – locations to compute values at.

  • params (array-like) – Parameters to use. If not given, uses the values given by the self.params attribute.

  • dr (int) – derivative order in rho, theta, zeta.

  • dt (int) – derivative order in rho, theta, zeta.

  • dz (int) – derivative order in rho, theta, zeta.

Returns:

values (ndarray) – values of the profile or its derivative at the points specified.