A 4f pulse shaper uses a diffraction grating to disperse an input pulse, a lens to focus its frequencies at different positions in a shared Fourier plane, a spectral mask or spatial light modulator there to modify them, and a second lens and grating to recombine them. In the symmetric idealization the distances are , with the lenses separated by . Shaping the spatially resolved spectrum implements spectral pulse shaping rather than a direct time-domain mask.
New to topics? Read the docs here!