User's Reference - DFT

### DFT

Category

Transformation

Function

Computes a discrete Fourier transform.

Syntax

    output = DFT(input, direction, center);

Inputs

Name | Type | Default | Description
--- | --- | --- | ---
`input` | field | none | field to be transformed
`direction` | string | "forward" | direction of the transform
`center` | flag | 0 | center the result of the transform

Outputs

Name | Type | Description
--- | --- | ---
`output` | field | transformed data

Functional Details

This module computes the discrete Fourier transform of a 2- or 3-dimensional regular data set.

`input` | specifies the field to be transformed.
`direction` | is one of the following: "forward," "inverse," or "backward" (the last two are interchangeable).
`center` | specifies whether zero frequency should be placed at the center of the transformed field or at the origin of the positions array.

Components

All scalar components of `input` are individually Fourier-transformed and output as complex float. All other input components are propagated to the output. Thus a float 2-vector input produces a complex 2-vector output.

Example Visual Programs

    FFT.net

See Also

FFT, Filter, Morph

[ OpenDX Home at IBM | OpenDX.org ]