acoustotreams.AcousticMaterial¶
- class acoustotreams.AcousticMaterial(rho=1.3, c=343.0, ct=0.0)[source]¶
Material definition.
The material properties are defined in the frequency domain by scalar values for density \(\rho\), the speed of longitudinal elastic waves \(c\), and the speed of transverse elastic waves \(c_t\). Materials are, thus, assumed to be linear, time-invariant, homogeneous, isotropic, local and to have no gain.
- Parameters:
rho (complex, optional) – Mass density (kg/m^3). Defaults to 1.3 kg/m^3.
c (complex, optional) – Longitudinal speed of sound (m/s). Defaults to 343 m/s.
ct (complex, optional) – Transverse speed of sound (m/s). Defaults to 0 m/s.
Attributes
Speed of longitudinal elastic waves.
Speed of transverse elastic waves.
Relative impedance for longitudinal waves (Pa*s/m^3).
Relative impedance for transverse waves (Pa*s/m^3).
Test if the material has purely real-valued parameters.
Test if the material sustains shear waves.
Mass density.
Methods
__call__()Return a tuple containing all material parameters.
__eq__(other)Compare material parameters.
__ge__(value, /)Return self>=value.
__gt__(value, /)Return self>value.
__le__(value, /)Return self<=value.
__lt__(value, /)Return self<value.
__ne__(value, /)Return self!=value.
__repr__()Representation that allows recreating the object.
__str__()All three material parameters.
from_params([rho, params])Create acoustic material from Lamé parameters.
from_pratio([rho, c, pratio])Create acoustic material from Poisson's ratio.
krhos(k0, kz)The (cylindrically) radial part of the wave vector for longitudinal waves .
krhost(k0, kz)The (cylindrically) radial part of the wave vector for transverse waves.
ks(k0)Return the wavenumber of longitudinal waves in the medium.
kst(k0)Return the wavenumber of transverse waves in the medium.
kzs(k0, kx, ky)The z-component of the wave vector for longitudinal waves.
kzst(k0, kx, ky)The z-component of the wave vector for transverse waves.
__lt__(value, /)Return self<value.
__le__(value, /)Return self<=value.
__gt__(value, /)Return self>value.
__ne__(value, /)Return self!=value.
__ge__(value, /)Return self>=value.