ExB_drift
- plasmapy.formulary.drifts.ExB_drift(E: Unit('V / m'), B: Unit('T'))[source]
Calculate the “electric cross magnetic” particle drift.
Aliases:
veb_
- Parameters:
- Returns:
v – Drift velocity, in m/s
- Return type:
Examples
>>> import astropy.units as u >>> ex = np.array([1, 0, 0]) >>> ey = np.array([0, 1, 0]) >>> ExB_drift(ex * u.V/u.m, ey * u.T) <Quantity [0., 0., 1.] m / s> >>> ExB_drift(ex * u.V/u.m, ex * u.T) <Quantity [0., 0., 0.] m / s> >>> ExB_drift(ex * u.V/u.m, 100 * ey * u.T) <Quantity [0. , 0. , 0.01] m / s>
Notes
The E × B drift is given by
\[\vec{v} = \frac{\vec{E} \times \vec{B}}{|B|^2}\]and is independent of particle charge.