1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-07-03 01:01:41 +03:00
ben-wpan/usrp/evscan
Werner Almesberger 3684c0765a usrp/: new tools to run, evaluate, and plot a full frequency scan
- usrp/fscan: perform a frequency scan in my test setup
- usrp/evscan: determine the frequency-dependent signal strength from a
  frequency scan
- usrp/plscan: plot one or more data sets produced by evscan
2010-11-17 13:12:56 -03:00

19 lines
282 B
Bash
Executable File

#!/bin/sh
usage()
{
echo "usage: $0 base-dir" 1>&2
exit 1
}
[ -d "$1" ] || usage
[ "$2" ] && usage
for f in "$1"/24*; do
echo -n `basename "$f"` ''
for n in "$f"/data*; do
./fft -s 100 0 20 50 <"$n" || echo "fft failed for $n" 1>&1
done | ./range -v 2
done