Time Frequency Spectrogram
- Updated2024-07-30
- 3 minute(s) read
Computes the quadratic joint time-frequency representation for the input signal. You can compute the short-time Fourier transform (STFT) spectrogram, the Gabor spectrogram, the adaptive spectrogram, the Wigner-Ville distribution, the Choi-Williams distribution, and the cone-shaped distribution.

Dialog Box Options
Inputs/Outputs
![]() Specifies the start index, in samples, of the processed part of Signal. ![]() Specifies the block diagram terminal of the signal you want to load. This input is available only if you select the From terminal option in the Data Source section. ![]() is the input signal. ![]() Specifies the input signal. The signal can be a waveform, a real array, or a complex array. ![]() Specifies the file path of the data you want to load. This input is available only when you select the From file option in the Data Source section. ![]() Specifies the input signal. The signal can be a waveform, a real array, or a complex array. ![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() error out contains error information. This output provides standard error out functionality. ![]() Returns the actual length of the processed signal. ![]() Returns the time scale and the frequency scale information of the time-frequency representation. Use the TFA Get Time and Freq Scale Info VI to return detailed information about the time scale and the frequency scale. ![]() Returns the quadratic time-frequency representation of the signal. Each row corresponds to the instantaneous power spectrum at a certain time. ![]() Specifies whether this Express VI displays the spectrogram in decibels. |
Examples
Refer to the following VIs for examples of using the Time Frequency Spectrogram VI:
- The Need for JTFA VI: labview\examples\Time Frequency Analysis\TFAGettingStarted
- Quadratic JTFA Method VI: labview\examples\Time Frequency Analysis\TFAGettingStarted
- Heart Sound TFA VI: labview\examples\Time Frequency Analysis\TFAApplications
- Cross Term VI: labview\examples\Time Frequency Analysis\TFAGettingStarted