Detecting a pulse of a signal includes receiving the signal and a light
beam. The signal drives a spatial light modulator to modulate the light
beam, where the complex amplitude of the modulated light beam is
proportional to the signal current. The modulated light beam passes
through an optical system and is detected by an optical detector array. A
processor identifies a portion of the signal comprising the pulse.