I'm working on a research project where we would like to apply convolutional neural networks to an image representation of a signal. However, it seems that if I would use a spectrogram, I would end up loosing the phase information. As a result, my question is:
Does an equivalent transformation of a signal to a spectrogram image exist in which the phase information is part of the resulting image?
Thanks a lot and have a great day, Maxime
From https://en.wikipedia.org/wiki/Spectrogram:
Limitations and resynthesis
From the formula above, it appears that a spectrogram contains no information about the exact, or even approximate, phase of the signal that it represents. For this reason, it is not possible to reverse the process and generate a copy of the original signal from a spectrogram.
spectrogram()
returns complex numbers, so you can calculate the magnitude and phase of them for every timestep. $\endgroup$