Owning Palette: Correlation and Spectral Analysis VIs
Installed With: Advanced Signal Processing Toolkit
Computes the single-sided bispectrum of an input univariate time series using the fast Fourier transform (FFT) or the autoregressive (AR) model based method. The bispectrum is a type of third-order spectrum, which is related to the third moment (skewness) of a time series. The resulting bispectrum can detect the asymmetric nonlinearities in the input time series. Wire data to the Xt input to determine the polymorphic instance to use or manually select the instance.
Use the pull-down menu to select an instance of this VI.
c.gif)
![]() |
frequency bins specifies the number of frequency bins for which this VI computes the bispectrum. The resulting bispectrum S(f,f) is a square 2D array with the size (frequency bins/2+1). The default is 256. | ||||||||||||||
![]() |
Xt specifies the input univariate time series. | ||||||||||||||
![]() |
method specifies to compute the bispectrum with the fast Fourier transform (FFT) based or autoregressive (AR) model based method. The default is FFT. Refer to the Details section for more information about each method. | ||||||||||||||
![]() |
window info specifies the information of the sliding window that divides the time series into subsequences.
| ||||||||||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||||||||||
![]() |
dB on? specifies whether this VI returns the S(f,f) in decibels or in a linear scale. If dB on? is TRUE, this VI returns the S(f,f) in decibels. If dB on? is FALSE, this VI returns the S(f,f) in a linear scale. The default is TRUE. | ||||||||||||||
![]() |
AR setting specifies the settings for the autoregressive (AR) model. This option is valid only when the method is AR Model.
| ||||||||||||||
![]() |
S(f,f) returns the magnitude of the single-sided bispectrum S(f1, f2). | ||||||||||||||
![]() |
freq bins returns the frequency bins at which this VI estimates the bispectrum. | ||||||||||||||
![]() |
unit returns the engineering unit of the PSD. You can specify an engineering unit for a time series by using the TSA Scale to EU VI. | ||||||||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
c.gif)
![]() |
sampling rate specifies the sampling rate, in hertz, of the input univariate time series Xt. The default is 1. | ||||||||||||||
![]() |
frequency bins specifies the number of frequency bins for which this VI computes the bispectrum. The resulting bispectrum S(f,f) is a square 2D array with the size (frequency bins/2+1). The default is 256. | ||||||||||||||
![]() |
Xt specifies the input univariate time series. | ||||||||||||||
![]() |
method specifies to compute the bispectrum with the fast Fourier transform (FFT) based or autoregressive (AR) model based method. The default is FFT. Refer to the Details section for more information about each method. | ||||||||||||||
![]() |
window info specifies the information of the sliding window that divides the time series into subsequences.
| ||||||||||||||
![]() |
error in describes error conditions that occur before this VI or function runs.
The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
| ||||||||||||||
![]() |
dB on? specifies whether this VI returns the S(f,f) in decibels or in a linear scale. If dB on? is TRUE, this VI returns the S(f,f) in decibels. If dB on? is FALSE, this VI returns the S(f,f) in a linear scale. The default is TRUE. | ||||||||||||||
![]() |
AR setting specifies the settings for the autoregressive (AR) model. This option is valid only when the method is AR Model.
| ||||||||||||||
![]() |
S(f,f) returns the magnitude of the single-sided bispectrum S(f1, f2). | ||||||||||||||
![]() |
freq bins returns the frequency bins at which this VI estimates the bispectrum. | ||||||||||||||
![]() |
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
|
This VI computes the single-sided bispectrum of a univariate time series using the FFT based method according to the following equation:
S(f1, f2) = E[P(f1)P(f2)P*(f1+f2)]
E[X] denotes the expectation value of X. P(f) is the power spectral density of the time series Xt based on the TSA Periodogram VI.

where N is the number of frequency bins and fs is the sampling rate. Before computing the bispectrum, this VI wraps Xt to an N-point series Xt'.
This VI computes the bispectrum of a univariate time series using the AR model based method according to the following equation:
S(f1, f2) = bP(f1)P(f2)P*(f1+f2)
b is the third moment of estimated noise series of AR model.

s2 is the noise variance of the estimated AR model of the time series and a is an array that contains the coefficients of the AR model. a=[1, a1, a2, … ,an], where n is AR order. Before computing the bispectrum, this VI wraps a to an N-point series a'.
Refer to the following VIs for examples of using the TSA Bispectrum VI: