acoustotreams.pfield

acoustotreams.pfield(r, *, basis, k0, material=AcousticMaterial(1.3, 343.0, 0.0), modetype=None)[source]

Pressure field.

The resulting matrix maps the pressure field coefficients of a given basis to the pressure field.

The pressure field is given in units of Pa.

Parameters:
  • r (array_like) – Evaluation points.

  • basis (ScalarBasisSet) – Basis set.

  • k0 (float) – Angular wavenumber in the air. Has units of 1/r.

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

  • modetype (str, optional) – Mode type.