postgkyl.diagnostics.mom.mhd.bx

postgkyl.diagnostics.mom.mhd.bx(data, *, inplace=False, tag=None, label=None)

x magnetic-field component (component 5 of MHD data).

Parameters:
  • data – MHD conserved variables; must contain point values.

  • inplace – Mutate and return data instead of a new dataset.

  • tag – Optional tag for the returned dataset.

  • label – Optional label for the returned dataset.

Returns:

A single-component dataset of Bx.

Raises:

ValueError – if data is modal DG coefficients.

CLI: mom_mhd_bx