This appears to be the best you can do without accurate knowledge of incoming phase