pgkyl mom_ten_moment_agyro

Usage: pgkyl mom_ten_moment_agyro [OPTIONS]

  Agyrotropy from a pressure tensor and an EM field.

  Measures how far the pressure tensor departs from gyrotropy about the local magnetic
  field. The field's first three components are used as the magnetic field direction.

Options:
  -p, --ptensor TEXT              Six-component symmetric pressure tensor (Pxx, Pxy,
                                  Pxz, Pyy, Pyz, Pzz); must contain point values.
                                  [required]
  -b, --bfield TEXT               Magnetic field whose first three components are (Bx,
                                  By, Bz); must contain point values.  [required]
  -m, --measure [swisdak|frobenius]
                                  'frobenius' (Frobenius norm of the agyrotropic part of
                                  the pressure tensor) or 'swisdak' (the Q measure of
                                  Swisdak 2015). Case-insensitive.  [default: frobenius]
  -i, --inplace [BOOLEAN]         mutate and return ``ptensor`` 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