Usage: pgkyl mom_rotations_parrotate [OPTIONS]
Component of ``array`` parallel to ``rotator``: ``(u . v_hat) v_hat``.
Projects the three-component vector field ``array`` (u) onto the unit vector of the
``rotator`` field (v), returning the parallel vector ``(u . v_hat) v_hat`` with its x,
y, z components. Both fields are assumed to be three-component with components on the
last axis.
Options:
-a, --array TEXT The three-component vector field to be rotated/projected;
must be NumPy-backed. [required]
-r, --rotator TEXT The field defining the rotation direction; must be NumPy-
backed. [required]
-c, --coords TEXT Half-open 'lo:hi' slice string selecting which ``rotator``
components form the direction vector. Defaults to '0:3'; use
'3:6' to rotate along the magnetic field of a six-component
EM field. [default: 0:3]
-i, --inplace [BOOLEAN] mutate and return ``array`` instead of a new dataset.
[default: False]
-t, --tag TEXT optional tag for the returned dataset.
-l, --label TEXT optional label for the returned dataset.
--help Show this message and exit.