discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] gr_diff_phasor_cc, gr_threshold_ff


From: Dimitris Symeonidis
Subject: [Discuss-gnuradio] gr_diff_phasor_cc, gr_threshold_ff
Date: Thu, 5 Feb 2009 16:00:52 +0100

The file gr_diff_phasor_cc.h contains a line: " * \brief Please fix my
documentation!"
What it's doing is: out[i] = in[i] * conj(in[i-1]);

The same goes for gr_threshold_ff.h, which is doing:
if (in[i] > d_hi) out[i] = 1.0;
else if (in[i] < d_lo) out[i] = 0.0;
else out[i] = d_last_state;

Can someone (Jonathan?) please fix that? It shouldn't take more than 2
minutes...

Dimitris Symeonidis
"If you think you're too small to make a difference, try sleeping with
a mosquito!" - Amnesty International




reply via email to

[Prev in Thread] Current Thread [Next in Thread]