treams._core.CylindricalWaveBasis#
- class treams._core.CylindricalWaveBasis(modes, positions=None)[source]#
Basis of cylindrical waves.
Functions of the cylindrical wave basis are defined by the z-components of the wave vector
kzand the angular momentummas well as the polarizationpol. If the basis is defined with respect to a single origin it is referred to as “global”, if it contains multiple origins it is referred to as “local”. In a local basis an additional position indexpidxis used to link the modes to one of the specifiedpositions.For cylindrical waves there exist multiple Polarizations and they can be separated into incident and scattered fields. Depending on these combinations the basis modes refer to one of the functions
treams.special.vcw_A(),treams.special.vcw_rA(),treams.special.vcw_M(),treams.special.vcw_rM(),treams.special.vcw_N(), ortreams.special.vcw_rN().- Parameters:
modes (array-like) – A tuple containing a list for each of
kz,m, andpolorpidx,kz,m, and``pol``.positions (array-like, optional) – The positions of the origins for the specified modes. Defaults to
[[0, 0, 0]].
- pidx#
Integer referring to a row in
positions.- Type:
array-like
- kz#
Real valued z-component of the wave vector.
- Type:
array-like
- m#
Integer angular momentum projection onto the z-axis.
- Type:
array-like
- pol#
Polarization, see also Polarizations.
- Type:
array-like
Methods
__init__(modes[, positions])Initalization.
count(value)default(kzs, mmax[, nmax, positions])Default basis for the given z-components of wave vector and angular momentum.
defaultdim(nkz, mmax[, nmax])Default number of modes for a given mulipolar order.
defaultmmax(dim[, nkz, nmax])Calculate the default mode order for a given length.
diffr_orders(kz, mmax, lattice, bmax[, ...])Create a basis set for a system periodic in the z-direction.
index(value, [start, [stop]])Raises ValueError if the value is not present.
isdisjoint(other)Return True if two sets have a null intersection.
Attributes
isglobalBasis is defined with respect to a single (global) origin.
positionsPositions of the modes' origins.