# Reset() for probe\_avg\_mag\_sqrd

**URL:** <https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314>\
**Category:** GNU Radio\
**Created:** [August 2, 2014, 7:51pm UTC](https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314 "2014-08-02T19:51:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [August 2, 2014, 7:51pm UTC](https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314/1 "2014-08-02T19:51:57Z")

</div>

Hello,

my application is monitoring the RF level and often changeing the  
frequency. Unfortunately it takes some time for probe\_avg\_mag\_sqrd to  
adjust to the new RF level (about 2 seconds if old level -10dB and new  
level -40dB).  
I found out the the iir-filter probe\_avg\_mag\_sqrd uses has a reset  
function, so all I did was adding a reset-function in probe\_avg\_mag\_sqrd  
to call it and it seems so work fine.  
Is there any reason probe\_avg\_mag\_sqrd doesn´t have a reset function  
yet? Is there some problem I don´t see?  
In case not, could that be added in official GNURadio? Otherwise my  
application would only work with modified GNURadio (or I would need to  
include my modified probe\_avg\_mag\_sqrd with a new name in my  
appliaction). I would prefer to have this feature in official GNURadio,  
as it´s probably useful for somebody else as well.

Best regards  
Stefan

Note: I´m not sending a patch because it´s just 3 lines of code and I  
don´t know Python, so somebody else would have to complete it anyway.

---

<div class="post-metadata">

**Author:** ![Stefan\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a8b319/32.png) [@Stefan\_O](https://www.ruby-forum.com/u/Stefan_O)\
**Post date:** [August 4, 2014, 11:06am UTC](https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314/2 "2014-08-04T11:06:41Z")

</div>

Stefan,

this might be useful, can you post an issue on [gnuradio.org](http://gnuradio.org), and  
describe as clearly as possible what you need? A patch, even if small,  
also helps to make things clearer for us.

M

---

<div class="post-metadata">

**Author:** ![Stefan\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a8b319/32.png) [@Stefan\_O](https://www.ruby-forum.com/u/Stefan_O)\
**Post date:** [August 21, 2014, 7:44pm UTC](https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314/3 "2014-08-21T19:44:38Z")

</div>

Hi,  
I posted the issue with a patch about 2 weeks ago, I´m not sure anybody  
has seen it yet:  
[http://gnuradio.org/redmine/issues/709](http://gnuradio.org/redmine/issues/709)  
Would be great if it could be included.

Thanks  
Stefan

Am 04.08.2014 11:05, schrieb Martin B.:

---

<div class="post-metadata">

**Author:** ![Stefan\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a8b319/32.png) [@Stefan\_O](https://www.ruby-forum.com/u/Stefan_O)\
**Post date:** [August 22, 2014, 12:10pm UTC](https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314/4 "2014-08-22T12:10:41Z")

</div>

Stefan,

Johnathan asked you a couple of questions regarding your patch. I’m not  
sure if you’ve already answered him, but the usual approach here is that  
we continue patch-related discussions on the issue tracker. So what it  
looks like from here is that’s actually stalling on you 🙂

Once things are in the issue tracker, they don’t get forgotten. However,  
sometimes it takes longer to merge/address things. Hope this doesn’t  
discourage you or any other contributor.

Cheers,  
M

---

<div class="post-metadata">

**Author:** ![Stefan\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a8b319/32.png) [@Stefan\_O](https://www.ruby-forum.com/u/Stefan_O)\
**Post date:** [September 18, 2014, 4:48pm UTC](https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314/5 "2014-09-18T16:48:34Z")

</div>

On 09/18/2014 10:29 AM, Stefan O. wrote:

> fatal: git-http-push failed  
> You should make a clone of the gnuradio on github under your github  
> account, then push your work to a branch there so people can look at it.

Only a few people can push to the main gnuradio repository.

Philip

---

<div class="post-metadata">

**Author:** ![Stefan\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a8b319/32.png) [@Stefan\_O](https://www.ruby-forum.com/u/Stefan_O)\
**Post date:** [September 18, 2014, 4:44pm UTC](https://www.ruby-forum.com/t/reset-for-probe-avg-mag-sqrd/231314/6 "2014-09-18T16:44:15Z")

</div>

Hi,  
I´m sorry, I just looked at that issue just before writing that mail, he  
must have updated that while I was writing the mail.  
And no, I was not discouraged, I´ve been on holiday the last weeks,  
that´s why I did not response the last weeks.  
Anyway, I created a git branch like requested, I never really worked  
with gut before, so I just followed a guide, but in the last step I´ll  
get an error:

Cannot access URL [gnuradio.git - GNU Radio](http://gnuradio.org/git/gnuradio.git/), return code 22  
fatal: git-http-push failed

What am I doing wrong? Do I need somekind of login data? I set my name  
and email using git config, but I was never asked for username/password?

Best regards  
Stefan

Am 22.08.2014 12:09, schrieb Martin B.:
