mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-29 08:36:47 +02:00
3684c0765a
- 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
19 lines
282 B
Bash
Executable File
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
|