summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-09 15:18:56 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-08-09 15:18:56 +0200
commit143e624d14e63f918fcc802e1a54263043642cb6 (patch)
tree4d061b979b49c90ec2d55d3f753faf7ec8d26b9f
parente48f6b7078e9edc30b1a6a357e3f81c21265930a (diff)
downloaddabmod-143e624d14e63f918fcc802e1a54263043642cb6.tar.gz
dabmod-143e624d14e63f918fcc802e1a54263043642cb6.tar.bz2
dabmod-143e624d14e63f918fcc802e1a54263043642cb6.zip
DPD: describe coef file format
-rw-r--r--dpd/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/dpd/README.md b/dpd/README.md
index 6c9d5fb..b5a6b81 100644
--- a/dpd/README.md
+++ b/dpd/README.md
@@ -37,6 +37,17 @@ See dpd/dpd.ini for an example.
The DPD server port can be tested with the *dpd/show_spectrum.py* helper tool, which can also display
a constellation diagram.
+File format for coefficients
+----------------------------
+The coef file contains the polynomial coefficients used in the predistorter. The file format is
+very similar to the filtertaps file used in the FIR filter. It is a text-based format that can
+easily be inspected and edited in a text editor.
+
+The first line contains the number of coefficients as an integer. The second and third lines contain
+the real, respectively the imaginary parts of the first coefficient. Fourth and fifth lines give the
+second coefficient, and so on. The file therefore contains 2xN + 1 lines if it contains N
+coefficients.
+
TODO
----