commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] gr-radio-astronomy/src/python usrp_psr_receiver.py


From: Marcus D. Leech
Subject: [Commit-gnuradio] gr-radio-astronomy/src/python usrp_psr_receiver.py
Date: Sat, 24 Jun 2006 02:02:30 +0000

CVSROOT:        /sources/gnuradio
Module name:    gr-radio-astronomy
Changes by:     Marcus D. Leech <mleech>        06/06/24 02:02:30

Modified files:
        src/python     : usrp_psr_receiver.py 

Log message:
        Fixed bug in pulsar_func--freqavg was uninitialized

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gr-radio-astronomy/src/python/usrp_psr_receiver.py?cvsroot=gnuradio&r1=1.1&r2=1.2

Patches:
Index: usrp_psr_receiver.py
===================================================================
RCS file: /sources/gnuradio/gr-radio-astronomy/src/python/usrp_psr_receiver.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- usrp_psr_receiver.py        23 May 2006 00:37:25 -0000      1.1
+++ usrp_psr_receiver.py        24 Jun 2006 02:02:30 -0000      1.2
@@ -917,6 +917,7 @@
        lastint = 0
        hits=[]
        intcnt = 0
+       freqavg = 0
        for i in x:
            freq = i*incr
            # If frequency within bounds, and the (dB-avg) value is above our




reply via email to

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