The invention can be used to directly measure the optical phase transfer function of any optoelectronic device, system, or equipment whose operation involves the application of an external stimulus, in which the phase of the output optical signal from the device, system, or equipment is a function of the external stimulus applied to the device.