Takes a single column signal and outputs its FFT (using cuda) in frequency domain.
Needs CUDA>7.5 to work, check src/Makefile, if you have boost you can say so there and gain some speed.
Currently only GPU implementation is provided
fft -N [N] -Fs [Fs] -prec [double/float] < signal
N: Number of points in the signal
Fs: Sampling frequency
prec: Precision mode, float by default
seq 0 0.2 10000 | awk '{print sin($1)}' | fft -N 10000 -Fs 5.0 > kk
w=$(grep $( datamash -W max 2 <kk) kk | awk '{print 2*3.1415*$1}')
w will be 1