1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-30 06:47:30 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
Werner Almesberger
b90e3e2dfd usrp/fft.c (do_fft): don't output the sample number when dumping
gnuplot already maintains the sample count in $0
2011-03-03 17:52:00 -03:00
Werner Almesberger
c98b91656a usrp/fft.c: added support for averaging of FFT results before dumping
- fft.c (usage, main): added optional averaging parameter for -d (dump)
- fft.c (do_fft): split the sample into several parts, FFT each of them
  individually, and average the FFT results
2011-03-03 17:50:02 -03:00
Werner Almesberger
95a9e12e2e usrp/fft.c: made window function user-selectable, added hann, blackman, rect
- fft.c (window, usage, main): added command line option -w window to
  select window function
- fft.c (window_rectangle, window_hann, window_hamming, window_blackman):
  increased choice of window functions
2011-03-03 17:49:54 -03:00
Werner Almesberger
fff1e1ed2f usrp/fft.c: added Hamming, make dump easier to interpret
- fft.c (window, fft_complex): added Hamming window function
- fft.c (do_fft): shift dump output such that center frequency is in the
  middle, not at the edges
2011-03-03 17:49:37 -03:00
Werner Almesberger
40d1234bf4 usrp: try to bring back sanity to pre- and post-processing of FFT data
The pre- and post-processing of FFT data was tweaked based on results
obtained from a mis-configured measurement setup, in an only partially
successful attempt to right the wrong data.

- usrp/fft.c (fft_complex): square the magnitude on output but don't
  square the scaling
- usrp/fft.c (fft_real): square the magnitude on input (does this make
  sense ?)
- usrp/fft.c (fft_real): scale the output with the square root of the
  FFT size (dubious)
2010-12-01 10:32:43 -03:00
Werner Almesberger
eafb2a226f fix glitch in fft.c and add scripts to display data sets without temp file
- usrp/doall: new script to directly evaluate and plot data sets
- usrp/fft.c (fft_complex): don't square the magnitude
- usrp/plscan: if an argument name has the form title=name, use "name" as
  the file name and "title" as the title
2010-11-29 01:10:23 -03:00
Werner Almesberger
83d216244c usrp: support DCT in addition to complex FFT
- usrp/evscan (usage, main): treat all arguments but the last as options
  and pass them to "fft"
- usrp/fft.c (fft_complex, do_fft): moved actual FFT calculation to
  separate function
- usrp/fft.c (fft_real, do_fft): added real-valued FFT (DCT) as alternative
- usrp/fft.c (main): undocumented option -a to set the FFT algorithm
2010-11-26 12:16:34 -03:00
Werner Almesberger
489acc49a5 usrp/fft: one more analysis tool for antenna measurements
- usrp/fft.c: utility to read a set of samples obtained with
  usrp2_rx_cfile.py and to perform a Fourier transform on them
- usrp/Makefile: use LDLIBS for libraries, not LDFLAGS
- usrp/Makefile: added "fft"
2010-11-16 20:28:03 -03:00