I'm implementing a spectrogram algorithm and I get the basic concepts, however, I'm struggling with something.
Let's say I have a 1D vector:
data = [0.36, 0.58, ...., 0.25]
I then compute a STFT of this data (with an overlap of say 128) this then produces a 2D array. I then compute the log of these values in order to compute the spectrogram. Would the resulting vector be 1D or 2D? Since the STFT is 2D (as it is split into blocks), I'm guessing that the spectrogram will be a 1D representation since I'm calculating the logs.