acoustotreams.ScalarPlaneWaveBasisByComp.diffr_orders¶
- classmethod ScalarPlaneWaveBasisByComp.diffr_orders(kpar, lattice, bmax)[source]¶
Creates a basis set for a two-dimensional periodic system.
The reciprocal lattice of the given lattice is used to determine all diffraction orders within the defined maximum radius of the circle in the reciprocal space.
Example
>>> acoustotreams.ScalarPlaneWaveBasisByComp.diffr_orders([0, 0], acoustotreams.Lattice.square(2 * np.pi), 1) ScalarPlaneWaveBasisByComp( kx=[ 0. 0. 0. 1. -1.], ky=[ 0. 1. -1. 0. 0.], )
- Parameters:
kpar (float) – In-plane wave-vector components (rad/m). Ideally, they are defined within the first Brillouin zone (use
misc.firstbrillouin2d()).lattice (
acoustotreams.Latticeor float) – Lattice definition or pitch.bmax (float) – Maximum length of reciprocal-lattice vectors that defines a maximum momentum transfer with respect to kpar.