Analytic continuation as a method of phase determination