Time Frequency Spectrogram Express VI
- Mise à jour2023-02-21
- Temps de lecture : 6 minute(s)
Owning Palette: Time Frequency Spectrogram VIs
Requires: Advanced Signal Processing Toolkit
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 |
| Block Diagram Inputs |
| Block Diagram Outputs |
Dialog Box Options
| Parameter | Description |
|---|---|
| Data Source | Specifies whether this Express VI reads data from a block diagram input terminal or from a file. From terminal specifies that this Express VI reads data from a block diagram input terminal. From file specifies that this Express VI reads data from a file. This Express VI can read data from waveform, WAV, or TXT files. |
| File Path Configuration | Contains the following options:
|
| Method | Specifies the method to compute the spectrogram of the input signal. The default is STFT Spectrogram. Other options include Gabor Spectrogram, Adaptive Spectrogram, Wigner-Ville Distribution, Choi-Williams Distribution, and Cone-Shaped Distribution. |
| TF Sampling Info | Contains the following options:
|
| Algorithm Settings | Contains the following options:
|
| Data Type and Sampling Rate | Contains the following options:
|
| Spectrogram, Waveform, and Power Spectrum | Displays the time-frequency representation in the upper graph and the time-domain signal in the lower graph. Contains the following options:
|
Block Diagram Inputs
| Parameter | Description |
|---|---|
| error in (no error) | Describes error conditions that occur before this node runs. |
| 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. |
| File path | 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. |
| Start | Specifies the start index, in samples, of the processed part of Signal. |
Block Diagram Outputs
| Parameter | Description |
|---|---|
| dB | Specifies whether this Express VI displays the spectrogram in decibels. |
| error out | Contains error information. This output provides standard error out functionality. |
| Length | Returns the actual length of the processed signal. |
| Scale Info | 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. |
| Spectrogram | Returns the quadratic time-frequency representation of the signal. Each row corresponds to the instantaneous power spectrum at a certain time. |
This Express VI operates similarly to the following VIs and functions:
TFA STFT Spectrogram
TFA Fast Gabor Spectrogram
TFA Adaptive Spectrogram
TFA Wigner-Ville Distribution
TFA Choi-Williams Distribution
TFA Cone-Shaped Distribution
Examples
Refer to the following VIs for examples of using the Time Frequency Spectrogram Express 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
).