acoustotreams.vfield¶
- acoustotreams.vfield(r, *, basis, k0, material=AcousticMaterial(1.3, 343.0, 0.0), modetype=None)[source]¶
Velocity field.
The resulting matrix maps the pressure field coefficients of a given basis to the velocity field in Cartesian coordinates.
The velocity field is given in units of m/s.
- Parameters:
r (array_like) – Evaluation points.
basis (
ScalarBasisSet) – Basis set.k0 (float) – Angular wavenumber in the air. Has units of 1/r.
material (
AcousticMaterialor tuple, optional) – Material parameters. Defaults to the air.modetype (str, optional) – Mode type.