diff options
Diffstat (limited to 'gr-digital/examples')
-rw-r--r-- | gr-digital/examples/narrowband/receive_path.py | 4 | ||||
-rw-r--r-- | gr-digital/examples/narrowband/transmit_path.py | 4 | ||||
-rwxr-xr-x | gr-digital/examples/narrowband/tunnel.py | 5 | ||||
-rw-r--r-- | gr-digital/examples/ofdm/receive_path.py | 4 | ||||
-rw-r--r-- | gr-digital/examples/ofdm/transmit_path.py | 4 | ||||
-rwxr-xr-x | gr-digital/examples/ofdm/tunnel.py | 5 |
6 files changed, 16 insertions, 10 deletions
diff --git a/gr-digital/examples/narrowband/receive_path.py b/gr-digital/examples/narrowband/receive_path.py index 1f93105068..363cb1e240 100644 --- a/gr-digital/examples/narrowband/receive_path.py +++ b/gr-digital/examples/narrowband/receive_path.py @@ -119,8 +119,8 @@ class receive_path(gr.hier_block2): """ Set carrier threshold. - @param threshold_in_db: set detection threshold - @type threshold_in_db: float (dB) + Args: + threshold_in_db: set detection threshold (float (dB)) """ self.probe.set_threshold(threshold_in_db) diff --git a/gr-digital/examples/narrowband/transmit_path.py b/gr-digital/examples/narrowband/transmit_path.py index 4d6162ed61..ec87ecd825 100644 --- a/gr-digital/examples/narrowband/transmit_path.py +++ b/gr-digital/examples/narrowband/transmit_path.py @@ -71,7 +71,9 @@ class transmit_path(gr.hier_block2): def set_tx_amplitude(self, ampl): """ Sets the transmit amplitude sent to the USRP in volts - @param: ampl 0 <= ampl < 1. + + Args: + : ampl 0 <= ampl < 1. """ self._tx_amplitude = max(0.0, min(ampl, 1)) self.amp.set_k(self._tx_amplitude) diff --git a/gr-digital/examples/narrowband/tunnel.py b/gr-digital/examples/narrowband/tunnel.py index 65205b9f6f..7b9b69cc8a 100755 --- a/gr-digital/examples/narrowband/tunnel.py +++ b/gr-digital/examples/narrowband/tunnel.py @@ -161,8 +161,9 @@ class cs_mac(object): """ Invoked by thread associated with PHY to pass received packet up. - @param ok: bool indicating whether payload CRC was OK - @param payload: contents of the packet (string) + Args: + ok: bool indicating whether payload CRC was OK + payload: contents of the packet (string) """ if self.verbose: print "Rx: ok = %r len(payload) = %4d" % (ok, len(payload)) diff --git a/gr-digital/examples/ofdm/receive_path.py b/gr-digital/examples/ofdm/receive_path.py index e1c7868a0e..b5094ac24d 100644 --- a/gr-digital/examples/ofdm/receive_path.py +++ b/gr-digital/examples/ofdm/receive_path.py @@ -77,8 +77,8 @@ class receive_path(gr.hier_block2): """ Set carrier threshold. - @param threshold_in_db: set detection threshold - @type threshold_in_db: float (dB) + Args: + threshold_in_db: set detection threshold (float (dB)) """ self.probe.set_threshold(threshold_in_db) diff --git a/gr-digital/examples/ofdm/transmit_path.py b/gr-digital/examples/ofdm/transmit_path.py index ec357d6173..6fb66e4076 100644 --- a/gr-digital/examples/ofdm/transmit_path.py +++ b/gr-digital/examples/ofdm/transmit_path.py @@ -62,7 +62,9 @@ class transmit_path(gr.hier_block2): def set_tx_amplitude(self, ampl): """ Sets the transmit amplitude sent to the USRP - @param: ampl 0 <= ampl < 1.0. Try 0.10 + + Args: + : ampl 0 <= ampl < 1.0. Try 0.10 """ self._tx_amplitude = max(0.0, min(ampl, 1)) self.amp.set_k(self._tx_amplitude) diff --git a/gr-digital/examples/ofdm/tunnel.py b/gr-digital/examples/ofdm/tunnel.py index e253cf5161..f407aef8d6 100755 --- a/gr-digital/examples/ofdm/tunnel.py +++ b/gr-digital/examples/ofdm/tunnel.py @@ -146,8 +146,9 @@ class cs_mac(object): """ Invoked by thread associated with PHY to pass received packet up. - @param ok: bool indicating whether payload CRC was OK - @param payload: contents of the packet (string) + Args: + ok: bool indicating whether payload CRC was OK + payload: contents of the packet (string) """ if self.verbose: print "Rx: ok = %r len(payload) = %4d" % (ok, len(payload)) |