Analysis: Signal Processing: Wavelet: Smooth
Smooth signal by cutting off detailed coefficients
This feature is for OriginPro only.
1. wtsmooth iy:=Col(2);
2. wtsmooth iy:=Col(2) type:=db2;
3. wtsmooth iy:=Col(2) ext:=pad0;
4. wtsmooth iy:=Col(2) cutoff:=95;
5. wtsmooth iy:= Col(2) oy:=(Col(3),Col(4)) cutoff:=85;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input | iy |
Input XYRange |
|
Specify the input signal |
Wavelet Type | type |
Input int |
|
Specify the wavelet type used in wavelet decomposition Option list
|
Extension Mode | ext |
Input int |
|
Specify the extension mode used in wavelet decomposition Option list
|
Output | oy |
Output XYRange |
|
Specify the output range See the syntax here. |
Cutoff (%) | cutoff |
Input double |
|
Specify the percentage of detail coefficients to be cut off |
1. To perform wavelet smoothing using default settings, to XY data in columns 1, 2 of the active worksheet, by cutting off 90% of the detail coefficients, use the script command:
wtsmooth iy:=(Col(1),Col(2)) cutoff:=90
2. To perform default wavelet smoothing to active data plot in graph, activate the plot then use the script command:
wtsmooth %c
3. To perform wavelet smoothing to data using a pre-saved smoothing theme file called Mytheme type in the Command Window:
wtsmooth -t mytheme
For more information, please refer to our User Guide.
Keywords:wavelet, remove