postgkyl.diagnostics.mom.rotations.bparrotate

postgkyl.diagnostics.mom.rotations.bparrotate(array, field, *, inplace=False, tag=None, label=None)

Project an array parallel to the magnetic field.

Parameters:
  • array – Vector or tensor dataset to project.

  • field – Electromagnetic field whose components 3 through 5 are magnetic.

  • inplace – Mutate and return array instead of creating a dataset.

  • tag – Optional tag for the returned dataset.

  • label – Optional label for the returned dataset.

CLI: mom_rotations_bparrotate