Modeling of earthquake ground motion in the frequency domain