SVWF.m File Reference

Functions

function SVWF (in k, in R, in nu, in tau, in l, in m)
 Spherical vector wave functions. More...
 

Function Documentation

◆ SVWF()

function SVWF ( in  k,
in  R,
in  nu,
in  tau,
in  l,
in  m 
)

Spherical vector wave functions.

The convention for the definition of the SVWFs is taken from "Light Scattering by Systems of Particles, Null-Field Method with Discrete Sources: Theory and Programs" by A. Doicu, T. Wriedt, and Y.A. Eremin

See also the theory section.

Parameters
k(float): wavenumber
R(3xN float array): positions where to evaluate the field in the format [x1,...,xN; y1,...,yN; z1,...,zN]
nu(int): regular (nu=1) or outgoing (nu=3) SVWF
tau(int): polarization (spherical TE, i.e., rxM=0 is tau=1, spherical TM is tau=2)
l(int): polar quantum number (degree), l=1,...
m(int): azimuthal quantum number (order), m=-l,...,l
Return values
N(float array): field components in format [Ex1,...,Exn; Ey1,...,Eyn; Ez1,...,Ezn]