TD_​DFFTCONV

The fast fourier transform converter is used to convert an ART generated by TD_DFFT. TD_DFFT outputs results in human readable and raw form. Also, it may output different payload types such as AMPL_PHASE_DEGREES, MULTIVAR_AMPL_PHASE_RADIANS, COMPLEX, etc. In normal workflow the user may want a different result form in order to pass the results to another AF, plot the results in human readable form, compare the results to python, etc. Instead of rerunning TD_DFFT to produce a different result form, TD_DFFTCONV can be used to accomplish the task faster and with almost no memory consumption.

Options

CONV
Required Parameter that specifies the type of conversion to be performed by this function: convert from human readable to raw form; or, convert from raw form to human readable form.
FREQ_STYLE
Optional Parameter. Determines format/values associated with the x-axis of the output. Choices are: 'K_INTEGRAL', an integer representation.; 'K_SAMPLE_RATE': normalized to 'Number Entries', ranges from -0.5 to +0.5; 'K_RADIANS', ranges from -PI to +PI; and, 'K_HERTZ', must be used in conjunction with the 'HERTZ_SAMPLE_RATE', this represents the frequency in hertz. The Default is 'K_INTEGRAL'.
HERTZ_SAMPLE_RATE
Optional Parameter. Only valid with a FREQ_STYLE(K_HERTZ). A Floating point constant representing the sample rate, in hertz. A value of 10000.0 means that the sample points were obtained by sampling at a rate of 10,000 hertz.
OutputFormat
The OUTPUT_FMT (CONTENT()) construct can be used by the data scientist to choose how they would like their Fourier coefficients to be output. The can use CONTENT(COMPLEX) or CONTENT(MULTIVAR_COMPLEX) to request the Fourier coefficients in rectangular form. Alternatively, they can use CONTENT(AMPL_PHASE_RADIANS), CONTENT(AMPL_PHASE_DEGREES), CONTENT(AMPL_PHASE), CONTENT(MULTIVAR_AMPL_PHASE_RADIANS), CONTENT(MULTIVAR_AMPL_PHASE), or CONTENT(MULTIVAR_AMPL_PHASE_DEGREES) to request that the Fourier coefficients be output in the polar form; and to further request the phase to be output in radians or degrees. AMPL_PHASE is one of the permitted values, it is synonymous with AMPL_PHASE_RADIANS. Similarly MULTIVAR_AMPL_PHASE is equivalent to MULTIVAR_AMPL_PHASE_RADIANS.The default value is dependent on the datatype of the input series; a single var input will generate COMPLEX output CONTENT by default; a multi var input will generate MULTIVAR_COMPLEX output CONTENT by default.
Output Schema
Output Schema, if Volatile is true then use user login as the schema.
Output Table
Output Table
VAL Location
VAL Location
Volatile
Specifies whether the table should be a VOLATILE table. If true, then the table is automatically deleted, otherwise it is users responsibility to remove or clean it up for space.

Input Ports

Icon
Connection to a Teradata Database Instance
Icon
Takes as input, the output from computing DFFT

Output Ports

Icon
output of TD_DFFTCONV

Nodes

Extensions

Links