acoustotreams.ScalarPlaneWaveBasisByComp.default

classmethod ScalarPlaneWaveBasisByComp.default(kpars, alignment='xy')[source]

Default basis from given wave vectors.

Example

>>> acoustotreams.ScalarPlaneWaveBasisByComp.default([[0, 0], [0, 3]])
ScalarPlaneWaveBasisByComp(
    kx=[0 0],
    ky=[0 3],
)
Parameters:
  • kpars (array_like) – Two Cartesian components of the wave vectors (rad/m).

  • alignment (str, optional) – Wave-vector components included in the partial basis. Defaults to “xy”, other possible values are “yz” and “zx”.