postgkyl.diagnostics.mom.plasma.omegaC¶
- postgkyl.diagnostics.mom.plasma.omegaC(field, *, mass=1.0, charge=1.0, inplace=False, tag=None, label=None)¶
Cyclotron (gyro) frequency
omega_c = |q| * |B| / m.- Parameters:
field – EM field data providing
Bx, By, Bz; must contain point values.mass – Particle mass.
charge – Particle charge; only its magnitude affects the result.
inplace – Mutate and return
fieldinstead 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 cyclotron frequency.
- Raises:
ValueError – if
fieldis modal DG coefficients.