Determination of the wave function from probability distributions for
the position and momentum, the so-called phase problem, is studied. An
algorithm leading to the local phase reconstruction is given. Illustr
ative examples are presented and possible generalizations are indicate
d.