TSA Detrend (Waveform) VI
- Updated2024-07-30
- 2 minute(s) read
Removes the trend from a univariate or multivariate (vector) time series. This VI estimates the trend with curve-fitting methods. Wire data to the Xt input to determine the polymorphic instance to use or manually select the instance.

Inputs/Outputs
polynomial order
—
polynomial order specifies the polynomial order to use in the N-polynomial fit. This option is available only when method is N-polynomial. The value must be greater than or equal to 0. The default is 2.
Xt
—
Xt specifies the univariate time series.
method
—
method specifies the curve-fitting method to use in estimating the trend of Xt.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
Xt detrended
—
Xt detrended returns the detrended univariate time series.
trend
—
trend returns the trend component of the univariate time series.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the Trend Estimation (Curve Fitting) VI in the labview\examples\Time Series Analysis\TSAGettingStarted directory for an example of using the TSA Detrend VI.
polynomial order
—
Xt
—
method
—
error in (no error)
—
Xt detrended
—
error out
—