aboutsummaryrefslogtreecommitdiff
path: root/README_cohpsk.md
diff options
context:
space:
mode:
authorAuthor Name <[email protected]>2023-07-07 12:20:59 +0930
committerDavid Rowe <[email protected]>2023-07-07 12:29:06 +0930
commitac7c48b4dee99d4c772f133d70d8d1b38262fcd2 (patch)
treea2d0ace57a9c0e2e5b611c4987f6fed1b38b81e7 /README_cohpsk.md
shallow zip-file copy from codec2 e9d726bf20
Diffstat (limited to 'README_cohpsk.md')
-rw-r--r--README_cohpsk.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/README_cohpsk.md b/README_cohpsk.md
new file mode 100644
index 0000000..aafc71d
--- /dev/null
+++ b/README_cohpsk.md
@@ -0,0 +1,43 @@
+# README_cohpsk.md
+
+## Introduction
+
+## Quickstart
+
+1. BER test in AWGN channel with just less that 2% average bit error rate:
+
+ ```
+ $ ./cohpsk_get_test_bits - 5600 | ./cohpsk_mod - - | ./ch - - --No -30 --Fs 7500 | ./cohpsk_demod - - | ./cohpsk_put_test_bits -
+ <snip>
+ SNR3k(dB): 3.41 C/No: 38.2 PAPR: 8.1
+ BER: 0.017 Nbits: 5264 Nerrors: 92
+
+ ```
+
+2. Plot some of the demod internal states, used to chase down freq offset problemL
+
+ ```
+ $ cd build_linux/src
+ $ ./cohpsk_get_test_bits - 5600 | ./cohpsk_mod - - | ./ch - - --No -40 -f -20 --Fs 7500 | ./cohpsk_demod -o cohpsk_demod.txt - - | ./cohpsk_put_test_bits -
+ $ cd ../../octave
+ $ octave --no-gui
+ $ cohpsk_demod_plot("../build_linux/src/cohpsk_demod.txt")
+ ```
+
+3. Run Octave<-> tests
+
+ ```
+ $ cd ~/codec2/build_linux/unittest
+ $ ./tochpsk
+ $ cd ~/codec2/octave
+ $ octave --no-gui
+ octave> tcohpsk
+ ```
+
+## References
+
+## C Code
+
+## Octave Scripts
+
+