pgkyl relchange

Usage: pgkyl relchange [OPTIONS]

  Relative change of ``data`` with respect to the baseline ``data0``.

  Computes ``(data - data0) / data0`` component-wise (``numerics.rel_change``). Both
  datasets are assumed to share the same grid and component layout.

Options:
  -d, --data0 TEXT         the baseline ("before") dataset -- the denominator.
                           [required]
  --data TEXT              the dataset whose relative change is computed; the returned
                           dataset is built from this one (its grid/ctx are the base of
                           the result).  [required]
  -c, --comp TEXT          when given, every numerator component is divided by this
                           single baseline component instead of its own (e.g. normalize
                           every energy component by the total energy component). None
                           divides component-wise.
  -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