In an optical system including an optical input port for projecting an
input optical signal onto an optical phased matrix array, an optical
phased matrix array including a plurality of individually addressable
pixels thereon, each said pixel being drivable within a prescribed range
of levels, and an optical output port for collecting a predetermined
fraction of said optical signal received from said optical phased matrix
array; a method of compensating for phase distortions including the steps
of: (a) determining a plurality of transfer functions relating said level
of each said pixel to the phase variation each said pixel introduces to
light from said input optical signal which is incident thereon; and (b)
controlling the level of selected ones of said pixels in accordance with
a corresponding transfer function such that said fractional signal
received at said output port is modified in phase to substantially
compensate for optical phase distortions arising from said optical phased
matrix array.