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_rx.py | 41 +++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 21 deletions(-)

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

diff --git a/gr-analog/python/analog/nbfm_rx.py b/gr-analog/python/analog/nbfm_rx.py
index 3e8dcd5287..f849012178 100644
--- a/gr-analog/python/analog/nbfm_rx.py
+++ b/gr-analog/python/analog/nbfm_rx.py
@@ -34,28 +34,27 @@ from .fm_emph import fm_deemph
 
 
 class nbfm_rx(gr.hier_block2):
+    """
+    Narrow Band FM Receiver.
+
+    Takes a single complex baseband input stream and produces a single
+    float output stream of audio sample in the range [-1, +1].
+
+    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)
+
+    quad_rate must be an integer multiple of audio_rate.
+
+    Exported sub-blocks (attributes):
+      squelch
+      quad_demod
+      deemph
+      audio_filter
+    """
     def __init__(self, audio_rate, quad_rate, tau=75e-6, max_dev=5e3):
-        """
-        Narrow Band FM Receiver.
-
-        Takes a single complex baseband input stream and produces a single
-        float output stream of audio sample in the range [-1, +1].
-
-        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)
-
-        quad_rate must be an integer multiple of audio_rate.
-
-        Exported sub-blocks (attributes):
-          squelch
-          quad_demod
-          deemph
-          audio_filter
-        """
-
         gr.hier_block2.__init__(self, "nbfm_rx",
                                 gr.io_signature(1, 1, gr.sizeof_gr_complex), # Input signature
                                 gr.io_signature(1, 1, gr.sizeof_float))      # Output signature
-- 
cgit v1.2.3