audioflux.utils.get_phase

audioflux.utils.get_phase(D)

Extract phase data from a complex-valued spectrogram D.

Parameters
D: np.ndarray [shape=(…, fre, time)]

a complex-valued spectrogram

Returns
out: np.ndarray [shape=(…, fre, time)]

phase data