treams.PlaneWaveBasisByUnitVector.default¶
- classmethod PlaneWaveBasisByUnitVector.default(kvecs)¶
Default basis from the given wave vectors.
For each wave vector the two polarizations 1 and 0 are taken.
Example
>>> PlaneWaveBasisByUnitVector.default([[0, 0, 5], [0, 3, 4]]) PlaneWaveBasisByUnitVector( qx=[0. 0. 0. 0.], qy=[0. 0. 0.6 0.6], qz=[1. 1. 0.8 0.8], pol=[1 0 1 0], )
- Parameters:
kvecs (array-like) – Wave vectors in Cartesian coordinates.