Synthetic seismograms in laterally heterogeneous, anelastic media by modal summation of P‐SV‐waves