pyoculus.toybox.cylindrical_toybox.psi_maxwellboltzmann

pyoculus.toybox.cylindrical_toybox.psi_maxwellboltzmann(rr: array, R: float, Z: float, d: float, m: int, n: int, phase_poloidal: float = 0.0, phase_toroidal: float = 0.0, A: float = 1.0, B: float = 1.0) float64

Maxwell-Boltzmann distributed \(\psi\) flux function.

Parameters:
  • rr (array) – Position vector in cylindrical coordinates.

  • R (float) – R coordinate of the center of the Maxwell-Boltzmann distribution.

  • Z (float) – Z coordinate of the center of the Maxwell-Boltzmann distribution.

  • d (float) – Standard deviation of the Maxwell-Boltzmann distribution.

  • m (int) – Poloidal mode number.

  • n (int) – Toroidal mode number.

  • phase_poloidal (float) – Poloidal phase of the perturbation.

  • phase_toroidal (float) – Toroidal phase of the perturbation.

  • A (float) – Scaling factor for the R coordinate.

  • B (float) – Scaling factor for the Z coordinate.

Returns:

\(\psi\) flux at position rr.

Return type:

float