Ground-motion prediction equations for constant-strength and constant-ductility input energy spectra