Table Of Contents

Interpolate 1D (Fourier) (G Dataflow)

Last Modified: January 12, 2018

Performs one-dimensional interpolation by using the Fourier interpolation method.

This node transforms an array of tabulated values into the frequency domain, zero-pads and scales the array, and then transforms the array back into the time domain to form the output array of interpolated values. In the process, the node scales the array appropriately for the interpolation factor you specify and maintains correct symmetry in the frequency domain.

connector_pane_image
datatype_icon

y

Tabulated values to be interpolated.

This node assumes that the data in y are equally spaced samples along its x-axis.

datatype_icon

n

Interpolation size or interpolation factor as determined by type.

Default: 2

datatype_icon

dt in

Sampling interval.

Default: 1

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

type

Method for determining the size of the interpolated output array.

Name Value Description
interpolation size 0 Determines the size of the interpolated output array using the interpolation size n.
interpolation factor 1 Determines the size of the interpolated output array using the interpolation factor, which equals n * size of y.

Default: interpolation factor

datatype_icon

yi

Interpolated values.

datatype_icon

interpolation size

Size of the output array of interpolated values.

If type is interpolation size, interpolation size returns n. If type is interpolation factor, interpolation size returns n * size of y.

datatype_icon

dt out

Sampling interval of the output array.

This output returns dt in * N / m, where N is the size of y, and m is interpolation size (determined by n and type).

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics