mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 21:27:52 -04:00
Add (128,82) ldpc code.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6494 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
3b3288afa3
commit
e867373f18
BIN
lib/ldpc/jtmode_codes/ldpc-128-82-sf11.gen
Normal file
BIN
lib/ldpc/jtmode_codes/ldpc-128-82-sf11.gen
Normal file
Binary file not shown.
BIN
lib/ldpc/jtmode_codes/ldpc-128-82-sf11.pchk
Normal file
BIN
lib/ldpc/jtmode_codes/ldpc-128-82-sf11.pchk
Normal file
Binary file not shown.
@ -4,13 +4,13 @@
|
|||||||
n=128
|
n=128
|
||||||
k=80
|
k=80
|
||||||
m=$((n-k))
|
m=$((n-k))
|
||||||
niterations=5
|
niterations=10
|
||||||
|
|
||||||
set -e # Stop if an error occurs
|
set -e # Stop if an error occurs
|
||||||
|
|
||||||
rand-src ldpc.src 2 "$k"x100000
|
rand-src ldpc.src 2 "$k"x100000
|
||||||
|
|
||||||
for i in `seq 1000 2000`
|
for i in `seq 1 1000`
|
||||||
do
|
do
|
||||||
seed=$i
|
seed=$i
|
||||||
echo seed $seed
|
echo seed $seed
|
||||||
|
@ -10,16 +10,16 @@ set -e # Stop if an error occurs
|
|||||||
#set -v # Echo commands as they are read
|
#set -v # Echo commands as they are read
|
||||||
|
|
||||||
n=128
|
n=128
|
||||||
k=82
|
k=80
|
||||||
m=$((n-k))
|
m=$((n-k))
|
||||||
seed=182
|
seed=873
|
||||||
ntrials=10000
|
ntrials=1000000
|
||||||
niterations=10
|
niterations=10
|
||||||
|
|
||||||
rate=$(echo "scale=5; $k/$n" | bc)
|
rate=$(echo "scale=5; $k/$n" | bc)
|
||||||
echo n=$n k=$k rate=$rate m=$m
|
echo n=$n k=$k rate=$rate m=$m
|
||||||
|
|
||||||
make-ldpc ldpc.pchk "$m" "$n" $seed evenboth 9x3/1x4 no4cycle
|
make-ldpc ldpc.pchk "$m" "$n" $seed evenboth 120x3/8x4 no4cycle
|
||||||
|
|
||||||
make-gen ldpc.pchk ldpc.gen sparse
|
make-gen ldpc.pchk ldpc.gen sparse
|
||||||
rand-src ldpc.src 1 "$k"x"$ntrials"
|
rand-src ldpc.src 1 "$k"x"$ntrials"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user