1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-28 18:03:19 +02:00
ben-wpan/usrp/evscan

24 lines
358 B
Plaintext
Raw Normal View History

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