pyoculus.toybox.cylindrical_toybox.A_gaussian
- pyoculus.toybox.cylindrical_toybox.A_gaussian(rr: array, R: float, Z: float, mu: float, sigma: float, m: int, n: int, phase_poloidal: float = 0.0, phase_toroidal: float = 0.0, A: float = 1.0, B: float = 1.0) Array
Holonomous component of the vector potential \(A\) for the Gaussian distributed perturbation.
- Parameters:
rr (array) – Position vector in cylindrical coordinates.
R (float) – R coordinate of the center of the Gaussian distribution.
Z (float) – Z coordinate of the center of the Gaussian distribution.
mu (float) – Mean of the Gaussian distribution.
sigma (float) – Standard deviation of the Gaussian 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:
\(A\) field at position rr.
- Return type:
array