Commit Graph

6 Commits

Author SHA1 Message Date
Sylvain Munaut 42a684e0bf iqbal: Improve convergence of the optimization
- We need to only take the general direction of the gradient
   and not the actual value (hence the division by sum of abs)

 - We take new values even if the score is equal, it might get
   us out of a dead lock

 - When reducing the step size, we look at how much we overshoot
   to get a better new step size

 - If the gain was lower than 1%, we quit, but we still take the
   new value

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-08 17:50:21 +01:00
Sylvain Munaut 2e8cef8f61 iqbal: Reduce gradient step
1e-3 is withing the range of value we're looking for, so we need
something smaller.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-08 17:47:39 +01:00
Sylvain Munaut c0fd99fcd2 iqbal: Allow caching of fft buffer and plan during the optimize call
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-08 17:11:01 +01:00
Sylvain Munaut e97293f89b iqbal: Remove a Doxygen warning
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-03 09:58:32 +01:00
Sylvain Munaut dcf64e6a30 iqbal: Fix typo in doc
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-03 09:14:36 +01:00
Sylvain Munaut 0c982dabb7 iqbal: Import new module to deal with IQ balance correction/optimization
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-02-19 21:58:24 +01:00