pgkyl differentiate

Usage: pgkyl differentiate [OPTIONS]

  Differentiate within DG cells or take a numerical gradient of point values.

  Native modal inputs stay modal and use local polynomial derivatives on a uniform
  Cartesian grid. This does not include jumps between DG cells. Interpolated inputs use
  a finite-difference gradient across sample points.

  With ``direction=None``, differentiates along every spatial axis and stacks the
  results in the component axis (``num_comps`` becomes ``num_comps * num_dims``, grouped
  ``[d0_comp0..d0_compN, d1_comp0.., ...]``). With an explicit ``direction``,
  differentiates along that one axis only (``num_comps`` unchanged). A separable axis
  accepts point coordinates matching the value count, or cell edges with one additional
  entry; only cell edges are centered before differentiating. A curvilinear axis (part
  of a joint ``.map(space="conf")`` block) has no such per-axis length convention of its
  own; its block's grid arrays carry it instead.

Options:
  -d, --direction INTEGER  0-based axis to differentiate along; None differentiates
                           along every axis.
  -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