acoustotreams.coeffs.mie_acoustics¶
- acoustotreams.coeffs.mie_acoustics(l, x, *materials)[source]¶
Mie-scattering coefficient of degree \(l\) for a sphere.
The sphere is defined by its size parameter \(k_0 r\), where \(r\) is the radius and \(k_0\) the wavenumber in the air. A multilayered sphere is defined by an array of ascending numbers that define the size parameters of the layers starting from the center.
Likewise, the material parameters are given from inside to outside. These arrays are expected to contain exactly one element more than the array x.
The result is a complex number relating the incident and scattered field coefficients, both indexed identically.
Note
\(c_t\) of the last material must be zero.
For the soft and hard spheres, only one radius must be given.
- Parameters:
l (int or array_like) – Degree \(l \geq 0\).
x (float or array_like) – Size parameters in the array.
rho (array_like of float or complex) – Mass density (kg/m^3). The length must be at least two.
c (array_like of float or complex) – Longitudinal speed of sound (m/s). The length must be at least two.
c_t (array_like of float or complex) – Transverse speed of sound (m/s). The length must be at least two.
- Returns:
complex array