1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-12-29 09:19:53 +02:00
ben-wpan/usrp/evscan
Werner Almesberger b3c0b4bf62 usrp: update filtering and display for uncorrupted measurement setup
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]
2010-12-01 11:08:16 -03:00

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