Root/usrp/evscan

Source at commit 762d33cf5dbc344926b91d736f3c4982ec7bea93 created 7 years 7 months ago.
By Werner Almesberger, Merge branch 'master' of projects.qi-hardware.com:ben-wpan
1#!/bin/sh
2
3usage()
4{
5    echo "usage: $0 [options] base-dir" 1>&2
6    exit 1
7}
8
9
10[ "$1" ] || usage
11opts=
12while [ "$2" ]; do
13    opts="$opts $1"
14    shift
15done
16[ -d "$1" ] || usage
17
18for f in "$1"/24*; do
19    echo -n `basename "$f"` ''
20    for n in "$f"/data*; do
21    ./fft $opts -s 100 0 20 70 <"$n" || echo "fft failed for $n" 1>&1
22    done | ./range -v 5
23done
24

Archive Download this file



interactive