Complex pulse evolution in a femtosecond laser with spectral windowing