Measurement of hypersonic attenuation by means of stimulated Brillouin scattering