treams._operators.ffield

Contents

treams._operators.ffield#

treams._operators.ffield(pol, r, *, basis, k0, material=Material(1, 1, 0), modetype=None, poltype=None)[source]#

Riemann-Silberstein field F.

The resulting matrix maps the electric field coefficients of the given basis to the Riemann-Silberstein field F in Cartesian coordinates.

Parameters:
  • pol (int) – Type of the Riemann-Silberstein field, must be 1 or -1. In analogy to to polarizations for helicity mode, 0 is also treated as -1.

  • r (array-like) – Evaluation points

  • basis (treams.BasisSet) – Basis set.

  • k0 (float) – Wave number.

  • material (treams.Material or tuple, optional) – Material parameters.

  • modetype (str, optional) – Wave mode.

  • poltype (str, optional) – Polarization, see also Polarizations.