diff --git a/lib/ldpc/jtmode_codes/fig_success.gnuplot b/lib/ldpc/jtmode_codes/fig_success.gnuplot new file mode 100644 index 000000000..cb8c34481 --- /dev/null +++ b/lib/ldpc/jtmode_codes/fig_success.gnuplot @@ -0,0 +1,21 @@ +# run: gnuplot fig_compare.gnuplot +# then: pdflatex fig_compare.tex + +set term epslatex standalone size 6in,2*6/3in +set output "fig_success.tex" +set xlabel "$E_b/N_0$ (dB)" +set ylabel "Decode Probability" +set style func linespoints +set key off +set tics in +set mxtics 2 +set mytics 10 +set grid +#set logscale y +plot [-1:6] [1e-6:1] \ + "160-80-sf4.results" using 1:($2/1000000) with linespoints lt 2 lw 2 pt 2, \ + "ldpc-144-72-sf2.results" using 1:($2/1000000) with linespoints lt 3 lw 2 pt 5, \ + "jtmskcode.results" using 1:($4/1000000) with linespoints lt 1 lw 2 pt 7, \ + "success.lab" with labels +exit +# "160-80-sf4.results" using 1:($4/1000000) with linespoints lt 3 lw 2 pt 4, \ diff --git a/lib/ldpc/jtmode_codes/ldpc-144-72-sf2.results b/lib/ldpc/jtmode_codes/ldpc-144-72-sf2.results new file mode 100644 index 000000000..3d7faf7a8 --- /dev/null +++ b/lib/ldpc/jtmode_codes/ldpc-144-72-sf2.results @@ -0,0 +1,6 @@ +ldpc-144-72 sf2 is an irregular ldpc code. +0.45 89459 9 +0.92 219230 22 +1.41 429217 26 +1.94 676583 23 +2.5 873671 14 diff --git a/lib/ldpc/jtmode_codes/ldpc-144-72-sf2.results.txt b/lib/ldpc/jtmode_codes/ldpc-144-72-sf2.results.txt deleted file mode 100644 index 36fa99be9..000000000 --- a/lib/ldpc/jtmode_codes/ldpc-144-72-sf2.results.txt +++ /dev/null @@ -1,74 +0,0 @@ -make-ldpc ldpc-144-72.pchk 72 144 1087 evenboth 3x3/7x4 no4cycle -Eliminated 259 cycles of length four by moving checks within column -#cp ldpc-144-72-6x3-4x4-sf1.pchk ldpc-144-72.pchk -make-gen ldpc-144-72.pchk ldpc-144-72.gen dense -Number of 1s per check in Inv(A) X B is 30.9 -rand-src ldpc-144-72.src 1 72x1000000 -encode ldpc-144-72.pchk ldpc-144-72.gen ldpc-144-72.src \ - ldpc-144-72.enc -Encoded 1000000 blocks, source block size 72, encoded block size 144 - -# NOISE STANDARD DEVIATION 0.75, Eb/N0 = 2.50 dB - -transmit ldpc-144-72.enc ldpc-144-72.rec 1 awgn 0.75 -Transmitted 144000000 bits -decode ldpc-144-72.pchk ldpc-144-72.rec ldpc-144-72.dec awgn 0.75\ - prprp 250 -Decoded 1000000 blocks, 873685 valid. Average 37.9 iterations, 9% bit changes -verify ldpc-144-72.pchk ldpc-144-72.dec ldpc-144-72.gen \ - ldpc-144-72.src -Block counts: tot 1000000, with chk errs 126315, with src errs 126105, both 126091 -Total good frames: 873671 Total undetected errors: 14 -Bit error rate (on message bits only): 1.259e-02 - -# NOISE STANDARD DEVIATION 0.80, Eb/N0 = 1.94 dB - -transmit ldpc-144-72.enc ldpc-144-72.rec 1 awgn 0.80 -Transmitted 144000000 bits -decode ldpc-144-72.pchk ldpc-144-72.rec ldpc-144-72.dec awgn 0.80\ - prprp 250 -Decoded 1000000 blocks, 676606 valid. Average 86.8 iterations, 9% bit changes -verify ldpc-144-72.pchk ldpc-144-72.dec ldpc-144-72.gen \ - ldpc-144-72.src -Block counts: tot 1000000, with chk errs 323394, with src errs 322911, both 322888 -Total good frames: 676583 Total undetected errors: 23 -Bit error rate (on message bits only): 3.303e-02 - -# NOISE STANDARD DEVIATION 0.85, Eb/N0 = 1.41 dB - -transmit ldpc-144-72.enc ldpc-144-72.rec 1 awgn 0.85 -Transmitted 144000000 bits -decode ldpc-144-72.pchk ldpc-144-72.rec ldpc-144-72.dec awgn 0.85\ - prprp 250 -Decoded 1000000 blocks, 429243 valid. Average 147.1 iterations, 9% bit changes -verify ldpc-144-72.pchk ldpc-144-72.dec ldpc-144-72.gen \ - ldpc-144-72.src -Block counts: tot 1000000, with chk errs 570757, with src errs 569982, both 569956 -Total good frames: 429217 Total undetected errors: 26 -Bit error rate (on message bits only): 6.138e-02 - -# NOISE STANDARD DEVIATION 0.90, Eb/N0 = 0.92 dB - -transmit ldpc-144-72.enc ldpc-144-72.rec 1 awgn 0.90 -Transmitted 144000000 bits -decode ldpc-144-72.pchk ldpc-144-72.rec ldpc-144-72.dec awgn 0.90\ - prprp 250 -Decoded 1000000 blocks, 219252 valid. Average 197.8 iterations, 8% bit changes -verify ldpc-144-72.pchk ldpc-144-72.dec ldpc-144-72.gen \ - ldpc-144-72.src -Block counts: tot 1000000, with chk errs 780748, with src errs 779961, both 779939 -Total good frames: 219230 Total undetected errors: 22 -Bit error rate (on message bits only): 9.086e-02 - -# NOISE STANDARD DEVIATION 0.95, Eb/N0 = 0.45 dB - -transmit ldpc-144-72.enc ldpc-144-72.rec 1 awgn 0.95 -Transmitted 144000000 bits -decode ldpc-144-72.pchk ldpc-144-72.rec ldpc-144-72.dec awgn 0.95\ - prprp 250 -Decoded 1000000 blocks, 89468 valid. Average 228.9 iterations, 7% bit changes -verify ldpc-144-72.pchk ldpc-144-72.dec ldpc-144-72.gen \ - ldpc-144-72.src -Block counts: tot 1000000, with chk errs 910532, with src errs 909905, both 909896 -Total good frames: 89459 Total undetected errors: 9 -Bit error rate (on message bits only): 1.167e-01 \ No newline at end of file diff --git a/lib/ldpc/jtmode_codes/success.lab b/lib/ldpc/jtmode_codes/success.lab new file mode 100644 index 000000000..c19a39ad2 --- /dev/null +++ b/lib/ldpc/jtmode_codes/success.lab @@ -0,0 +1,3 @@ +3.2 0.75 "(198,72) JTMSK" +0.9 0.55 "(160,80) LDPC" +1.3 0.75 "(144,72) LDPC"