summaryrefslogtreecommitdiff
path: root/gr-digital
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital')
-rw-r--r--gr-digital/include/gnuradio/digital/constellation.h7
-rw-r--r--gr-digital/python/digital/bindings/constellation_python.cc2
2 files changed, 7 insertions, 2 deletions
diff --git a/gr-digital/include/gnuradio/digital/constellation.h b/gr-digital/include/gnuradio/digital/constellation.h
index ebe37088b7..d6d39353d8 100644
--- a/gr-digital/include/gnuradio/digital/constellation.h
+++ b/gr-digital/include/gnuradio/digital/constellation.h
@@ -289,6 +289,9 @@ public:
* \param rotational_symmetry Number of rotations around unit circle that have the
* same representation. \param dimensionality Number of z-axis dimensions to the
* constellation \param n_sectors Number of sectors in the constellation.
+ * \param normalization Use AMPLITUDE_NORMALIZATION to normalize points to
+ * mean(abs(points))=1 (default), POWER_NORMALIZATION to normalize points
+ * to mean(abs(points)^2)=1 or NO_NORMALIZATION to keep the original amplitude.
*/
constellation_sector(std::vector<gr_complex> constell,
std::vector<int> pre_diff_code,
@@ -346,7 +349,9 @@ public:
* in to. \param imag_sectors Number of sectors the imag axis is split in to. \param
* width_real_sectors width of each real sector to calculate decision boundaries.
* \param width_imag_sectors width of each imag sector to calculate decision
- * boundaries.
+ * boundaries. \param normalization Use AMPLITUDE_NORMALIZATION to normalize points
+ * to mean(abs(points))=1 (default), POWER_NORMALIZATION to normalize points to
+ * mean(abs(points)^2)=1 or NO_NORMALIZATION to keep the original amplitude.
*/
static constellation_rect::sptr
make(std::vector<gr_complex> constell,
diff --git a/gr-digital/python/digital/bindings/constellation_python.cc b/gr-digital/python/digital/bindings/constellation_python.cc
index 8944e666c9..d22c2cd9b8 100644
--- a/gr-digital/python/digital/bindings/constellation_python.cc
+++ b/gr-digital/python/digital/bindings/constellation_python.cc
@@ -14,7 +14,7 @@
/* BINDTOOL_GEN_AUTOMATIC(0) */
/* BINDTOOL_USE_PYGCCXML(0) */
/* BINDTOOL_HEADER_FILE(constellation.h) */
-/* BINDTOOL_HEADER_FILE_HASH(7830b0b770b8e3ae0fa213f34ead29b7) */
+/* BINDTOOL_HEADER_FILE_HASH(096509fbce3ab57c42e63e4c4c15c6f6) */
/***********************************************************************************/
#include <pybind11/complex.h>