postgkyl.diagnostics.mom.rotations.bperprotate¶
- postgkyl.diagnostics.mom.rotations.bperprotate(array, field, *, inplace=False, tag=None, label=None)¶
Project an array perpendicular 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
arrayinstead of creating a dataset.tag – Optional tag for the returned dataset.
label – Optional label for the returned dataset.