treams.bfield

treams.bfield(r, *, basis, k0=None, material=Material(1, 1, 0), modetype=None, poltype=None)

Magnetic flux density.

The resulting matrix maps the electric field coefficients of the given basis to the magnetic flux density in Cartesian coordinates.

The magnetic flux density is given in units of 1c0[E].

Parameters:
  • r (array-like) – Evaluation points

  • basis (BasisSet) – Basis set.

  • k0 (float, optional) – Wave number.

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

  • modetype (str, optional) – Wave mode.

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