postgkyl.diagnostics.mom.plasma.vA¶
- postgkyl.diagnostics.mom.plasma.vA(species, field, *, mu_0=1.0, inplace=False, tag=None, label=None)¶
Alfven velocity
v_A = |B| / sqrt(mu_0 * rho).- Parameters:
species – Species moment data providing the density; must be NumPy-backed.
field – EM field data providing
|B|; must contain point values.mu_0 – Vacuum permeability.
inplace – mutate and return
speciesinstead of a new dataset.tag – optional tag for the returned dataset.
label – optional label for the returned dataset.
- Returns:
A single-component dataset of the Alfven velocity.
- Raises:
ValueError – if either input is modal DG coefficients.