The invention includes an apparatus for modulating an optical signal. The
apparatus includes a spatial dispersion mechanism and a modulating
mechanism. The spatial dispersion mechanism spatially disperses the
optical signal. The spatially dispersed optical signal has a plurality of
frequency components where each frequency component has an associated
beam size. The modulating mechanism includes an array of modulating
components where each modulating component has a pitch. The pitch of each
modulating component is substantially equal to or less than the beam size
of each frequency component.