parameters: (plasma, guess=None)
return_statement: return CenteredGrid(
          phi, bounds=plasma.omega.bounds, extrapolation=plasma.omega.extrapolation,
      )
docstring: Fourier Poisson Solve for Phi
docstring_summary: Fourier Poisson Solve for Phi
docstring_tokens: Fourier Poisson Solve for Phi
function: def get_phi(plasma, guess=None):
      """Fourier Poisson Solve for Phi"""
      centered_omega = plasma.omega  # - math.mean(plasma.omega)
      phi = math.fourier_poisson(centered_omega.values, plasma.dx)
      # phi = math.solve_linear(
      #     math.laplace, plasma.omega.values, guess, math.LinearSolve, callback=None
      # )
      return CenteredGrid(
          phi, bounds=plasma.omega.bounds, extrapolation=plasma.omega.extrapolation,
      )
function_tokens: def get_phi ( plasma , guess = None ) : centered_omega = plasma . omega # - math.mean(plasma.omega) phi = math . fourier_poisson ( centered_omega . values , plasma . dx ) # phi = math.solve_linear( #     math.laplace, plasma.omega.values, guess, math.LinearSolve, callback=None # ) return CenteredGrid ( phi , bounds = plasma . omega . bounds , extrapolation = plasma . omega . extrapolation , )