Absorption spectrum of a two-level system subjected to a periodic pulse sequence