acoustotreams.ScalarPlaneWaveBasisByUnitVector.bycomp

ScalarPlaneWaveBasisByUnitVector.bycomp(k0, alignment='xy', material=AcousticMaterial(1.3, 343.0, 0.0))[source]

Creates an instance of ScalarPlaneWaveBasisByComp.

The plane-wave basis is changed to a partial basis, where only two (real-valued) wave-vector components are specified. A third component is then inferred from the dispersion relation, which depends on the wavenumber, material and modetype, which determines the sign of the third component.

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

  • k0 (float, optional) – Angular wavenumber in the air (rad/m). Verifies that the current basis satisfies the dispersion relation.

  • material (acoustotreams.AcousticMaterial or tuple) – Material definition. Defaults to the air.