[Top][All Lists]

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

Re: [Discuss-gnuradio] Help me help myself

From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] Help me help myself
Date: Mon, 22 Dec 2014 18:42:27 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 12/22/2014 06:37 PM, Richard Bell wrote:
Hi all,

The goal of this email is to learn how to find answers using available resources on my own in the future. To do this, I will explain what I've done to try and find the answer and then I hope someone can tell me how to finish the process so that next time I can do it on my own.

I'm working through the details of the MM Timing Recovery block. In the process of doing this I've come across the following line in source:

d_omega = d_omega_mid + gr::branchless_clip(d_omega-d_omega_mid, d_omega_lim);

I don't know what gr::branchless_clip does, so I started looking for answers on google and the gnuradio API manual. In the manual, I find this:


but that doesn't tell me what it does. I can't find anymore reference to branchless_clip then this.

From the source code, I don't know how to track down the reference. I've searched my laptop for branchless_clip, but I get no returns.

So the question is, how do I find what branchless_clip does in the MM Timing Recovery block? I care more about the "how do I find" part of the question then the actual answer, though I do want the actual answer.

I used the following "find" command:

find gnuradio -name "*.*" -exec grep -H branchless_clip '{}' ';'

And found the definition in:

gnuradio/gnuradio-runtime/include/gnuradio/math.h: branchless_clip(float x, float clip)

Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium

reply via email to

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