2.11.8 deconv

Menu Information

This X-Function is only accessible from script

Brief Information

Deconvolute a signal using specified response data

Command Line Usage

1. deconv ix:=Col(2) response:=Col(3);

2. deconv ix:=Col(1) response:=Col(2) norm:=1;

3. deconv ix:=Col(1) response:=Col(2) wrap:=1;

4. deconv ix:=Col(1) response:=Col(2) circular:=circular;

5. deconv ix:=Col(1) response:=Col(2) norm:=0 wrap:=0 circular:=circular oy:=(col(3), col(4));

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Signal ix

Input

vector

<active>

Specifies the signal (a known convolution result)

Response response

Input

vector

<active>

Specifies the response

Sampling Interval interval

Input

double

1.0

Specifies the sampling interval. The default is <auto>, which corresponds to an automatically computed interval.

Normalize Response norm

Input

int

1

Specifies whether the response should be normalized

Wrap Response wrap

Input

int

0

Specifies whether the response should be wrapped

Deconvolution Type circular

Input

int

linear

Specifies whether the deconvolution is circular or linear. This will decide how the data points outside the input range will be treated.

Option list

  • linear :Linear
    Linear deconvolution will be computed. Data points outside the input range will be viewed as zeros.
  • circular:Circular
    Circular deconvolution will be computed. Data points outside the input range will be viewed as repetition of the data points within the range.
Output oy

Output

XYRange

<new>

Specifies the output

See the syntax here.


Examples

1. To perform linear deconvolution with the signal in Column 1 and the response in Column 2 of the active worksheet, use the script command:

deconv ix:=col(1) response:=col(2)

2. To perform deconvolution to data using a pre-saved smoothing theme file, save your preferences in the deconv dialog, and then execute it by typing the following script command, using your own saved-theme title:

deconv -t "my deconvolution theme.oth"

More Information

For more information, please refer to our User Guide.


Related X-Functions

conv, fft1, ifft1


Keywords:deconvolution, linear, circular