mie_tau๏ƒ

miepython.vsh.mie_tau(n, theta, deg=False)[source]๏ƒ

Computes the angular variation of the electric field arising from the nth magnetic multipole ๐›•_n(๐œƒ).

The variation is given by the derivative of the nth associated Legendre polynomial d/d๐œƒ Pยน_n(cos๐œƒ)

Care is taken to avoid division by zero and for this function to work with both scalars and arrays.

Parameters:
  • n โ€“ Degree of multipole 1=dipole, 2=quadrupole, 3=octopole

  • theta โ€“ angle

  • deg โ€“ if True then angle is in degrees

Returns:

array-like โ€“ Values of dP_n^m(x)/dx.