pgkyl magsq

Usage: pgkyl magsq [OPTIONS]

  Magnitude squared of a vector field.

  Sums the squares of the selected components (``numerics.mag_sq``), returning a single-
  component field.

Options:
  -c, --coords TEXT        ``"start:end"`` slice of the component axis to sum the
                           squares of. Defaults to the first three components.
                           [default: 0:3]
  -i, --inplace [BOOLEAN]  mutate and return ``data`` 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.

Python API