aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2013-06-16 22:48:59 +0200
committerSylvain Munaut <tnt@246tNt.com>2013-06-16 22:48:59 +0200
commit59e29c2043cc8bbc14fc7f483aadea2a7b7d0f56 (patch)
tree9aa9cde1e75d82da2baf5d82518ab40c28d4d4af
parentf54f7ff8735b8cefa05f87cf40cc212a2fcdff53 (diff)
iqbal: Move the SDR# comment to the Doxygen file header0.3.0
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--src/iqbal.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/iqbal.c b/src/iqbal.c
index 1d0ea75..e5432f9 100644
--- a/src/iqbal.c
+++ b/src/iqbal.c
@@ -28,6 +28,16 @@
/*! \file iqbal.c
* \brief IQ balance utils implementation
+ *
+ * The actual algorithm used for estimation of the imbalance and its
+ * optimization is inspired by the IQ balancer of SDR# by Youssef Touil
+ * and described here :
+ *
+ * http://sdrsharp.com/index.php/automatic-iq-correction-algorithm
+ *
+ * The main differences are:
+ * - Objective function uses complex correlation of left/right side of FFT
+ * - Optimization based on steepest gradient with dynamic step size
*/
#include <complex.h>
@@ -207,17 +217,6 @@ osmo_iqbal_cxvec_estimate(const struct osmo_cxvec *sig,
/* IQ balance optimization */
/* ------------------------------------------------------------------------ */
-/*
- * The actual algorithm used here is inspired by the IQ balancer of SDR#
- * by Youssef Touil and described here :
- *
- * http://sdrsharp.com/index.php/automatic-iq-correction-algorithm
- *
- * The main differences are:
- * - Objective function uses complex correlation of left/right side of FFT
- * - Optimization based on steepest gradient with dynamic step size
- */
-
/*! \brief Default values for the optimization algorithm */
const struct osmo_iqbal_opts osmo_iqbal_default_opts = {
.fft_size = 1024,