pgkyl mom_multispecies_accumulate_current

Usage: pgkyl mom_multispecies_accumulate_current [OPTIONS]

  Accumulate current from species moments.

  Scales the species' momentum/flow moments by a per-species factor to form its
  contribution to the current. By default the factor is ``-1.0``; with ``qbym=True``
  (and ``charge``/``mass`` given) the charge/mass ratio is used instead. Should be used
  with ``qbym=True`` for fluid data.

Options:
  -q, --qbym [BOOLEAN]     When True, scale by the charge-to-mass ratio (q/m); otherwise
                           scale by ``-1.0``. Set True for fluid data.  [default: False]
  -c, --charge FLOAT       Particle charge, required when ``qbym`` is True.
  -m, --mass FLOAT         Particle mass, required (and must be nonzero) when ``qbym``
                           is True.
  -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