[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10939 - gnuradio/branches/developers/jblum/digital
From: |
jblum |
Subject: |
[Commit-gnuradio] r10939 - gnuradio/branches/developers/jblum/digital |
Date: |
Fri, 1 May 2009 13:20:12 -0600 (MDT) |
Author: jblum
Date: 2009-05-01 13:20:12 -0600 (Fri, 01 May 2009)
New Revision: 10939
Modified:
gnuradio/branches/developers/jblum/digital/transmit_path.py
Log:
set tx amplitude to be 15% of max for automatic/default
Modified: gnuradio/branches/developers/jblum/digital/transmit_path.py
===================================================================
--- gnuradio/branches/developers/jblum/digital/transmit_path.py 2009-05-01
19:03:58 UTC (rev 10938)
+++ gnuradio/branches/developers/jblum/digital/transmit_path.py 2009-05-01
19:20:12 UTC (rev 10939)
@@ -144,7 +144,7 @@
@param ampl the amplitude or None for automatic
"""
ampl_range = self.u.ampl_range()
- if ampl is None: ampl = (ampl_range[0] + ampl_range[1])/2.
+ if ampl is None: ampl = (ampl_range[1] - ampl_range[0])*0.15 +
ampl_range[0]
self._tx_amplitude = max(ampl_range[0], min(ampl, ampl_range[1]))
self.amp.set_k(self._tx_amplitude)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10939 - gnuradio/branches/developers/jblum/digital,
jblum <=