mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-22 14:40:17 +02:00
b3c0b4bf62
We now have a much wider dynamic range of the signal (with better SNR). The outliers are mainly WLAN interferences. - usrp/evscan: changed threshold from -50 dB to -70 dB - usrp/evscan: increase outlier tolerance from 2 dB to 10 dB - usrp/plscan: changed display range from [-35:-25] to [-40:-5]
24 lines
359 B
Bash
Executable File
24 lines
359 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 10
|
|
done
|