mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Add updated frame-error-rate script for jt65.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6527 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
9e38f0ed9e
commit
733630d7f3
17
lib/fer
17
lib/fer
@ -5,21 +5,24 @@
|
|||||||
# For better performance, copy this script and jt65, jt65sim
|
# For better performance, copy this script and jt65, jt65sim
|
||||||
# executables to a ramdisk and run from there.
|
# executables to a ramdisk and run from there.
|
||||||
|
|
||||||
|
mode=C
|
||||||
|
spread=4.0
|
||||||
|
|
||||||
|
for i in `seq 0 21`;
|
||||||
|
do
|
||||||
nruns=0
|
nruns=0
|
||||||
ndecodes=0
|
ndecodes=0
|
||||||
ngood=0
|
ngood=0
|
||||||
nbad=0
|
nbad=0
|
||||||
snr=-26.0
|
snr=$((-25+$i))
|
||||||
|
|
||||||
#while [ $[ $nruns - $ngood ] -lt 200 ]
|
#while [ $[ $nruns - $ngood ] -lt 200 ]
|
||||||
#while [ $ngood -lt 200 ]
|
#while [ $ngood -lt 200 ]
|
||||||
while [ $nruns -lt 20000 ]
|
while [ $nruns -lt 1000 ]
|
||||||
|
|
||||||
do
|
do
|
||||||
rm 000000_0001.wav
|
rm 000000_0001.wav
|
||||||
./jt65sim -n 1 -d 0.0 -s \\$snr > /dev/null
|
./jt65sim -m $mode -n 1 -d $spread -s \\$snr > /dev/null
|
||||||
rm decoded.txt
|
rm decoded.txt
|
||||||
./jt65 -a 10 -f 1500 -n 10 -s 000000_0001.wav > decoded.txt
|
./jt65 -m $mode -a 10 -f 1500 -n 1000 -s 000000_0001.wav > decoded.txt
|
||||||
if [ -e decoded.txt ]; then
|
if [ -e decoded.txt ]; then
|
||||||
nd=$( wc -l < decoded.txt )
|
nd=$( wc -l < decoded.txt )
|
||||||
ng=$( grep "K1ABC" decoded.txt | wc -l )
|
ng=$( grep "K1ABC" decoded.txt | wc -l )
|
||||||
@ -35,4 +38,4 @@ do
|
|||||||
echo -en snr: $snr nruns: $nruns ndecodes: $ndecodes ngood: $ngood nbad: $nbad nmissed: $nmissed wer: $pe success: $ps"\r"
|
echo -en snr: $snr nruns: $nruns ndecodes: $ndecodes ngood: $ngood nbad: $nbad nmissed: $nmissed wer: $pe success: $ps"\r"
|
||||||
done
|
done
|
||||||
echo snr: $snr nruns: $nruns ndecodes: $ndecodes ngood: $ngood nbad: $nbad nmissed: $nmissed wer: $pe success: $ps
|
echo snr: $snr nruns: $nruns ndecodes: $ndecodes ngood: $ngood nbad: $nbad nmissed: $nmissed wer: $pe success: $ps
|
||||||
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user