acoustotreams.AcousticMaterial.from_params

classmethod AcousticMaterial.from_params(rho=1.3, params=(151767.21, 0.0))[source]

Create acoustic material from Lamé parameters.

This function calculates the longitudinal and transverse speeds of sound with \(c = \sqrt{\frac{\lambda+2\mu}{\rho}}\) and \(c_t = \sqrt{\frac{\mu}{\rho}}\).

Parameters:
  • rho (complex, optional) – Mass density. Defaults to 1.3.

  • params (complex, optional) – Lamé parameters. Defaults to (151767.21, 0.).

Returns:

AcousticMaterial