mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-23 03:31:54 +02:00
c2b489d0bb
- usrp/evscan: reduce outlier limit from 10 dB to 5 dB - usrp/plscan: raise lower bound from -40 dB to -30 dB
24 lines
358 B
Bash
Executable File
24 lines
358 B
Bash
Executable File
#!/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
|