commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10310 - gnuradio/branches/releases/3.2/gr-radio-astro


From: jcorgan
Subject: [Commit-gnuradio] r10310 - gnuradio/branches/releases/3.2/gr-radio-astronomy/src/python
Date: Tue, 27 Jan 2009 08:36:57 -0700 (MST)

Author: jcorgan
Date: 2009-01-27 08:36:54 -0700 (Tue, 27 Jan 2009)
New Revision: 10310

Modified:
   
gnuradio/branches/releases/3.2/gr-radio-astronomy/src/python/usrp_ra_receiver.py
Log:
Merged r10278 and r10285 from trunk into release-3.2

Modified: 
gnuradio/branches/releases/3.2/gr-radio-astronomy/src/python/usrp_ra_receiver.py
===================================================================
--- 
gnuradio/branches/releases/3.2/gr-radio-astronomy/src/python/usrp_ra_receiver.py
    2009-01-27 15:26:38 UTC (rev 10309)
+++ 
gnuradio/branches/releases/3.2/gr-radio-astronomy/src/python/usrp_ra_receiver.py
    2009-01-27 15:36:54 UTC (rev 10310)
@@ -82,6 +82,7 @@
                parser.add_option("-D", "--switch_mode", action="store_true", 
default=False, help="Dicke Switching mode")
                parser.add_option("-P", "--reference_divisor", 
type="eng_float", default=1.0, help="Reference Divisor")
                parser.add_option("-U", "--ref_fifo", default="@@@@")
+               parser.add_option("-k", "--notch_taps", type="int", default=64, 
help="Number of notch taps")
                parser.add_option("-n", "--notches", action="store_true", 
                    default=False, help="Notch frequencies after all other 
args")
                (options, args) = parser.parse_args()
@@ -95,7 +96,7 @@
                self.reference_divisor = options.reference_divisor
                self.ref_fifo = options.ref_fifo
                
-               self.NOTCH_TAPS = 128
+               self.NOTCH_TAPS = options.notch_taps
                self.notches = Numeric.zeros(self.NOTCH_TAPS,Numeric.Float64)
                # Get notch locations
                j = 0





reply via email to

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