Earthquake damage orientation to infer seismic parameters in archaeological sites and historical earthquakes