treams._core.PlaneWaveBasisByUnitVector#

class treams._core.PlaneWaveBasisByUnitVector(modes)[source]#

Plane wave basis.

A plane wave basis is defined by a collection of wave vectors specified by the Cartesian wave vector components qx, qy, and qz normalized to \(q_x^2 + q_y^2 + q_z^2 = 1\) and the polarizations pol.

For plane waves there exist multiple Polarizations, such that these modes can refer to either treams.special.vpw_A() or treams.special.vpw_M() and treams.special.vpw_N().

Parameters:

modes (array-like) – A tuple containing a list for each of qx, qy, qz, and pol.

qx#

X-component of the normalized wave vector.

Type:

array-like

qy#

Y-component of the normalized wave vector.

Type:

array-like

qz#

Z-component of the normalized wave vector.

Type:

array-like

pol#

Polarization, see also Polarizations.

Type:

array-like

__init__(modes)[source]#

Initialization.

Methods

__init__(modes)

Initialization.

bycomp(k0[, alignment, material])

Create a PlaneWaveBasisByComp.

count(value)

default(kvecs)

Default basis from the given wave vectors.

index(value, [start, [stop]])

Raises ValueError if the value is not present.

isdisjoint(other)

Return True if two sets have a null intersection.

kvecs(k0[, material, modetype])

Wave vectors.

permute([n])

Attributes

isglobal