From 2399759b3b5dc4ae4c03bf196ca16fe0f8dfd18d Mon Sep 17 00:00:00 2001
From: Marc Lichtman <mlichtman@perspectalabs.com>
Date: Sat, 27 Oct 2018 13:47:25 -0400
Subject: docs: fixed docstring for nbfm tx and rx

---
 gr-analog/python/analog/nbfm_tx.py | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

(limited to 'gr-analog/python/analog/nbfm_tx.py')

diff --git a/gr-analog/python/analog/nbfm_tx.py b/gr-analog/python/analog/nbfm_tx.py
index a7620451eb..2d9aaa7d10 100644
--- a/gr-analog/python/analog/nbfm_tx.py
+++ b/gr-analog/python/analog/nbfm_tx.py
@@ -33,23 +33,22 @@ from . import analog_swig as analog
 
 
 class nbfm_tx(gr.hier_block2):
-    def __init__(self, audio_rate, quad_rate, tau=75e-6, max_dev=5e3, fh=-1.0):
-        """
-        Narrow Band FM Transmitter.
-
-        Takes a single float input stream of audio samples in the range [-1,+1]
-        and produces a single FM modulated complex baseband output.
+    """
+    Narrow Band FM Transmitter.
 
-        Args:
-            audio_rate: sample rate of audio stream, >= 16k (integer)
-            quad_rate: sample rate of output stream (integer)
-            tau: preemphasis time constant (default 75e-6) (float)
-            max_dev: maximum deviation in Hz (default 5e3) (float)
-            fh: high frequency at which to flatten preemphasis; < 0 means default of 0.925*quad_rate/2.0 (float)
+    Takes a single float input stream of audio samples in the range [-1,+1]
+    and produces a single FM modulated complex baseband output.
 
-        quad_rate must be an integer multiple of audio_rate.
-        """
+    Args:
+        audio_rate: sample rate of audio stream, >= 16k (integer)
+        quad_rate: sample rate of output stream (integer)
+        tau: preemphasis time constant (default 75e-6) (float)
+        max_dev: maximum deviation in Hz (default 5e3) (float)
+        fh: high frequency at which to flatten preemphasis; < 0 means default of 0.925*quad_rate/2.0 (float)
 
+    quad_rate must be an integer multiple of audio_rate.
+    """
+    def __init__(self, audio_rate, quad_rate, tau=75e-6, max_dev=5e3, fh=-1.0):
         gr.hier_block2.__init__(self, "nbfm_tx",
                                 gr.io_signature(1, 1, gr.sizeof_float),      # Input signature
                                 gr.io_signature(1, 1, gr.sizeof_gr_complex)) # Output signature
-- 
cgit v1.2.3