beta
- plasmapy.formulary.dimensionless.beta(
- T: Annotated[Quantity, Unit('K')],
- n: Annotated[Quantity, Unit('1 / m3')],
- B: Annotated[Quantity, Unit('T')],
Compute the ratio of thermal pressure to magnetic pressure.
The beta (\(β\)) of a plasma is defined by
\[β = \frac{p_{th}}{p_{mag}} = \frac{n k_B T}{B^2/2μ_0}\]where \(p_{th}\) is the
thermal_pressureof the plasma and \(p_{mag}\) is themagnetic_pressureof the plasma.- Parameters:
- Returns:
beta – Dimensionless quantity.
- Return type:
See also
Examples
>>> import astropy.units as u >>> beta(1 * u.eV, 1e20 * u.m**-3, 1 * u.T) <Quantity 4.0267...e-05> >>> beta(8.8e3 * u.eV, 1e20 * u.m**-3, 5.3 * u.T) <Quantity 0.01261...>