[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-commit
Subject:    [Commit-gnuradio] gr-radio-astronomy/src/python usrp_psr_receiver.py
From:       "Marcus D. Leech" <marcus () propulsionpolymers ! com>
Date:       2006-06-24 2:02:30
Message-ID: E1FtxTi-0006t7-TL () savannah ! gnu ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic