Attenuation laws and seismic hazard assessment