desc.profiles.MTanhProfile.compute
- MTanhProfile.compute(params=None, grid=None, dr=0, dt=0, dz=0)[source]
Compute values of profile at specified nodes.
- Parameters:
params (array-like) – coefficients to use, in order. [ped, offset, sym, width, core_poly] If not given, uses the values given by the params attribute
grid (Grid or array-like) – locations to compute values at. Defaults to self.grid
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