The electromagnetic modeling of practical finite periodic structures is a topic of growing interest. Due to the truncation of the infinite periodic structures, surface waves will be excited and localized near the discontinuous interfaces leading to the edge effect of finite structures. In this work, surface waves are numerically disentangled from the propagating Bloch waves contributions. Based...