A method and apparatus are provided for measuring samples of the electric
field of light propagated through a device under test and determining a
nonlinear property of the device, such as self-phase modulation or cross
phase modulation, using the measured samples.