def _compute_normalized_phase(data):
 from scipy.signal import hilbert
 return ((np.angle(hilbert(data)) + np.pi) / (2 * np.pi))

def _compute_normalized_phase ( data ) : from scipy . signal import hilbert return ( ( np . angle ( hilbert ( data ) ) + np . pi ) / ( 2 * np . pi ) )
compute normalized phase angles .