acoustotreams.ScalarPlaneWaveBasisByComp.byunitvector

ScalarPlaneWaveBasisByComp.byunitvector(k0, material=AcousticMaterial(1.3, 343.0, 0.0), modetype='up')[source]

Creates an instance of complete basis ScalarPlaneWaveBasis.

A plane-wave basis is considered complete when all three Cartesian components are defined for each mode. A third Cartesian component is calculated from the specified wavenumber, material, and modetype. The modetype “up” (resp. “down”) corresponds to waves propagating in the positive (resp. negative) direction with respect to the Cartesian axis that is orthogonal to the alignment plane.

Parameters:
  • k0 (float) – Angular wavenumber in the air (rad/m).

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

  • modetype (str, optional) – Propagation direction. Defaults to “up”.