treams.PlaneWaveBasisByComp.default¶
- classmethod PlaneWaveBasisByComp.default(kpars, alignment='xy')¶
Default basis from the given wave vectors.
For each wave vector the two polarizations 1 and 0 are taken.
Example
>>> PlaneWaveBasisByComp.default([[0, 0], [0, 3]]) PlaneWaveBasisByComp( kx=[0. 0. 0. 0.], ky=[0. 0. 3. 3.], pol=[1 0 1 0], )
- Parameters:
kpars (array-like) – Wave vector components in Cartesian coordinates.
alignment (str, optional) – Definition which wave vector components are given. Defaults to “xy”, other possible values are “yz” and “zx”.