thermal_pressure¶
-
plasmapy.formulary.
thermal_pressure
(T: Unit("K"), n: Unit("1 / m3")) -> Unit("Pa")¶ Return the thermal pressure for a Maxwellian distribution.
Aliases:
pth_
Parameters: Examples
>>> import astropy.units as u >>> thermal_pressure(1*u.eV, 1e20/u.m**3) <Quantity 16.021... Pa> >>> thermal_pressure(10*u.eV, 1e20/u.m**3) <Quantity 160.21... Pa>
Returns: p_th – Thermal pressure.
Return type: Raises: TypeError
– The temperature or number density is not aQuantity
.UnitConversionError
– If the particle temperature is not in units of temperature or energy per particle.
Notes
The thermal pressure is given by:
\[T_{th} = nk_{B}T\]