Least-squares phase estimation from the phase difference | Synapse