SIGCLEAR Program reference

sgfft1

Transform sampled vectors along their sample axis with a 1D FFT

Package: sigclear-dsp · Version: 1.2.0-2 Download JSON

Description

Compute the forward or inverse Fourier transform of selected sampled vectors
along the sample axis. Choose whether the output represents real/imaginary,
amplitude/phase, or magnitude components using the output-format parameter.

Synopsis

sgfft1 <stdin inv=false nfft=NS >stdout out.mode=realimag

Parameters

sgfft1 parameters
ParameterTypeDefaultDescription
in ifile stdin input file
inv bool false perform an inverse or forward transform
nfft long NS transform length for a forward transform; defaults to the input length
out ofile stdout fft result: 1. data.ns changed to the length of transform domain 2. create data.nfft for original data length
out.mode enum realimag forward output as real and imaginary, amplitude and phase, or magnitude
Allowed: realimag ampphase magnitude

Input and output

Input

input file

Output

fft result: 1. data.ns changed to the length of transform domain 2. create data.nfft for original data length