emd.spectra.phase_from_complex_signal¶
- emd.spectra.phase_from_complex_signal(complex_signal, smoothing=None, ret_phase='wrapped', phase_jump='ascending')[source]¶
Compute the instantaneous phase from a complex signal.
The complex input may be obtained from either the Hilbert Transform or by Direct Quadrature.
- Parameters
- complex_signalcomplex ndarray
Complex valued input array
- smoothingint
Integer window length used in phase smoothing (Default value = None)
- ret_phase{‘wrapped’,’unwrapped’}
Flag indicating whether to return the wrapped or unwrapped phase (Default value = ‘wrapped’)
- phase_jump{‘ascending’,’peak’,’descending’,’trough’}
Flag indicating where in the cycle the phase jump should be (Default value = ‘ascending’)
- Returns
- IPndarray
Array of instantaneous phase values