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
| Parameter | Type | Default | Description |
|---|---|---|---|
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 |
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