measuring wave attenuation