Maxwellian_speed_2D

plasmapy.physics.distribution.Maxwellian_speed_2D(v, T, particle='e', v_drift=0, vTh=nan, units='units')

Probability distribution function of speed for a Maxwellian distribution in 2D.

Return the probability density function of finding a particle with speed components vx and vy in m/s in an equilibrium plasma of temperature T which follows the 2D Maxwellian distribution function. This function assumes Cartesian coordinates.

Parameters:
  • v (Quantity) – The speed in units convertible to m/s.
  • T (Quantity) – The temperature, preferably in Kelvin.
  • particle (str, optional) – Representation of the particle species(e.g., 'p' for protons, 'D+' for deuterium, or 'He-4 +1' for \(He_4^{+1}\) (singly ionized helium-4)), which defaults to electrons.
  • v_drift (Quantity) – The drift speed in units convertible to m/s.
  • vTh (Quantity, optional) – Thermal velocity (most probable) in m/s. This is used for optimization purposes to avoid re-calculating vTh, for example when integrating over velocity-space.
  • units (str, optional) – Selects whether to run function with units and unit checks (when equal to “units”) or to run as unitless (when equal to “unitless”). The unitless version is substantially faster for intensive computations.
Returns:

f – Probability density in speed^-1, normalized so that: \(\iiint_{0}^{\infty} f(\vec{v}) d\vec{v} = 1\).

Return type:

Quantity

Raises:

Notes

In 2D, the Maxwellian speed distribution function describing the distribution of particles with speed \(v\) in a plasma with temperature \(T\) is given by:

\[f = 2 \pi \vec{v} (\pi v_{Th}^2)^{-1} \exp(-(\vec{v} - \vec{V}_{drift})^2 / v_{Th}^2)\]

where \(v_{Th} = \sqrt{2 k_B T / m}\) is the thermal speed.

Example

>>> from plasmapy.physics import Maxwellian_speed_2D
>>> from astropy import units as u
>>> v=1 * u.m / u.s
>>> Maxwellian_speed_2D(v=v, T=30000 * u.K, particle='e', v_drift=0 * u.m / u.s)
<Quantity 2.19930065e-12 s / m>