pyrfu.pyrf.plasma_beta#
- pyrfu.pyrf.plasma_beta(b_xyz, p_xyz)[source]#
Computes plasma beta at magnetic field sampling
\[\beta = \frac{P_{th}}{P_b}\]where : \(P_{th} = \mathrm{tr}(\mathbf{P}) / 3\) and \(P_b = B^2 / 2 \mu_0\)
- Parameters:
b_xyz (xarray.DataArray) – Time series of the magnetic field in nT.
p_xyz (xarray.DataArray) – Time series of the pressure tensor in nPa.
- Returns:
beta – Time series of the plasma beta at magnetic field sampling.
- Return type: