desc.equilibrium.Equilibrium.get_profile

Equilibrium.get_profile(name, grid=None, **kwargs)

Return a SplineProfile of the desired quantity.

Parameters:
  • name (str) – Name of the quantity to compute.

  • grid (Grid, optional) – Grid of coordinates to evaluate at. Defaults to the quadrature grid. Note profile will only be a function of the radial coordinate.

Returns:

profile (SplineProfile) – Radial profile of the desired quantity.