added getPhaseSpectrum