commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r5768 - in grc/branches/jblum_work/src: . Elements Gra


From: jblum
Subject: [Commit-gnuradio] r5768 - in grc/branches/jblum_work/src: . Elements Graphics SignalBlockDefs
Date: Tue, 12 Jun 2007 00:52:05 -0600 (MDT)

Author: jblum
Date: 2007-06-12 00:52:04 -0600 (Tue, 12 Jun 2007)
New Revision: 5768

Modified:
   grc/branches/jblum_work/src/ActionHandler.py
   grc/branches/jblum_work/src/Actions.py
   grc/branches/jblum_work/src/Colors.py
   grc/branches/jblum_work/src/Constants.py
   grc/branches/jblum_work/src/DataTypes.py
   grc/branches/jblum_work/src/Editor.py
   grc/branches/jblum_work/src/Elements/Connection.py
   grc/branches/jblum_work/src/Elements/Element.py
   grc/branches/jblum_work/src/Elements/GraphicalConnection.py
   grc/branches/jblum_work/src/Elements/GraphicalElement.py
   grc/branches/jblum_work/src/Elements/GraphicalParam.py
   grc/branches/jblum_work/src/Elements/GraphicalSignalBlock.py
   grc/branches/jblum_work/src/Elements/GraphicalSocket.py
   grc/branches/jblum_work/src/Elements/Param.py
   grc/branches/jblum_work/src/Elements/SignalBlock.py
   grc/branches/jblum_work/src/Elements/Socket.py
   grc/branches/jblum_work/src/Elements/Utils.py
   grc/branches/jblum_work/src/Elements/__init__.py
   grc/branches/jblum_work/src/ExecFlowGraph.py
   grc/branches/jblum_work/src/ExecFlowGraphGUI.py
   grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py
   grc/branches/jblum_work/src/Graphics/Bars.py
   grc/branches/jblum_work/src/Graphics/Dialogs.py
   grc/branches/jblum_work/src/Graphics/FlowGraph.py
   grc/branches/jblum_work/src/Graphics/FlowGraphFileDialog.py
   grc/branches/jblum_work/src/Graphics/MainWindow.py
   grc/branches/jblum_work/src/Graphics/SignalBlockParamsDialog.py
   grc/branches/jblum_work/src/Graphics/SignalBlockSelectionWindow.py
   grc/branches/jblum_work/src/Graphics/USRPDiagnostics.py
   grc/branches/jblum_work/src/Graphics/VariableModificationWindow.py
   grc/branches/jblum_work/src/Graphics/__init__.py
   grc/branches/jblum_work/src/MathExprParser.py
   grc/branches/jblum_work/src/Messages.py
   grc/branches/jblum_work/src/ParseXML.py
   grc/branches/jblum_work/src/Preferences.py
   grc/branches/jblum_work/src/SignalBlockDefs/Coders.py
   grc/branches/jblum_work/src/SignalBlockDefs/Conversions.py
   grc/branches/jblum_work/src/SignalBlockDefs/Filters.py
   grc/branches/jblum_work/src/SignalBlockDefs/GraphicalSinks.py
   grc/branches/jblum_work/src/SignalBlockDefs/Misc.py
   grc/branches/jblum_work/src/SignalBlockDefs/Modulators.py
   grc/branches/jblum_work/src/SignalBlockDefs/Operators.py
   grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockConstants.py
   grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockTree.py
   grc/branches/jblum_work/src/SignalBlockDefs/Sinks.py
   grc/branches/jblum_work/src/SignalBlockDefs/Sources.py
   grc/branches/jblum_work/src/SignalBlockDefs/Trellis.py
   grc/branches/jblum_work/src/SignalBlockDefs/USRP.py
   grc/branches/jblum_work/src/SignalBlockDefs/__init__.py
   grc/branches/jblum_work/src/StateCache.py
   grc/branches/jblum_work/src/Variables.py
Log:
changed headers to have doxygen package declarations in all files

Modified: grc/branches/jblum_work/src/ActionHandler.py
===================================================================
--- grc/branches/jblum_work/src/ActionHandler.py        2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/ActionHandler.py        2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,12 +16,10 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       ActionHandler.py 
-       Josh Blum
-       ActionHandler puts the entire application together by setting up all 
the windows 
-               including the flow graph and ActionHandler handles most of the 
user inputs.             
-"""
address@hidden ActionHandler
+#ActionHandler builds the interface and handles most of the user inputs.       
        
address@hidden Josh Blum
+
 import os, sys
 from Constants import *
 from Actions import *

Modified: grc/branches/jblum_work/src/Actions.py
===================================================================
--- grc/branches/jblum_work/src/Actions.py      2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/Actions.py      2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""    
-       Actions.py      
-       Josh Blum
-       Global actions for gui elements to communicate state changes to the 
action handler.
-"""
address@hidden Actions
+#Global actions for gui elements to communicate state changes to the action 
handler.           
address@hidden Josh Blum
 
 import pygtk
 pygtk.require('2.0')

Modified: grc/branches/jblum_work/src/Colors.py
===================================================================
--- grc/branches/jblum_work/src/Colors.py       2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/Colors.py       2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""    
-       Colors.py       
-       Josh Blum
-       Colors and color-specs used to identify a socket's data type.
-"""
address@hidden Colors
+#Colors and color-specs used to identify a socket's data type. 
address@hidden Josh Blum
 
 import pygtk
 pygtk.require('2.0')

Modified: grc/branches/jblum_work/src/Constants.py
===================================================================
--- grc/branches/jblum_work/src/Constants.py    2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/Constants.py    2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,76 +16,75 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""    
-       Constants.py    
-       Josh Blum
-       Global constants
-"""
address@hidden Constants
+#Global constants
address@hidden Josh Blum
 
 import sys, os
 import mutex
-MUTEX = mutex.mutex()  #mutex used when running a flow graph
 
+##mutex used when running a flow graph.
+MUTEX = mutex.mutex()  
+
 
######################################################################################################
-#      Global Titles
+## Global Titles @{
 
######################################################################################################
 
-""" The current version of this code   """
+##The current version of this code
 VERSION = '0.70 alpha'
 
-"""    The name to appear in the main window for a flow graph that has not 
been saved to file. """
+##The name to appear in the main window for a flow graph that has not been 
saved to file.
 NEW_FLOGRAPH_TITLE = 'untitled'
 
-"""    The prefix title on the main window.    """     
+##The prefix title on the main window.
 MAIN_WINDOW_PREFIX = "GRC"
address@hidden
 
 
######################################################################################################
-#      Length of connector buds on Sockets(s) in pixels and 
-#              allowable rotation angles for Element(s) in degrees
+##     Length of connector buds on Sockets(s) in pixels and 
+# allowable rotation angles for Element(s) in degrees @{
 
######################################################################################################
 
-"""    The length that a connection must extend from the socket 
-       until the length depends on the index of the socket.    """
+##The length that a connection must extend from the socket until the length 
depends on the index of the socket.
 CONNECTOR_EXTENSION_INITIAL_LENGTH = 11
 
-"""    The length that a connection must extend from the initial 
-       length times the index of the socket, after this length, 
-       the connection may have a bend. """
+##The length that a connection must extend from the initial length times the 
index of the socket, after this length, the connection may have a bend.
 CONNECTOR_EXTENSION_LENGTH = 11
 
-"""     list of possible angles (in degrees) that a signal block and its 
parameters
-       can be rotated to.      """
+##List of possible angles (in degrees) that a signal block and its parameters 
can be rotated to.
 POSSIBLE_ROTATIONS = (0, 90, 180, 270)
 
-""" directions of rotation """
+##direction of rotation left.
 DIR_LEFT = 'left'
+
+##direction of rotation right.
 DIR_RIGHT = 'right'
address@hidden
 
 
######################################################################################################
-#      Dimension constraints for the various windows (in pixels)
+## Dimension constraints for the various windows (in pixels)
 
######################################################################################################
 
-#      main window constraints #
-
+##main window constraints      @{
 DEFAULT_MAIN_WINDOW_WIDTH = 750
 
 DEFAULT_MAIN_WINDOW_HEIGHT = 550
address@hidden
 
-#      flow graph window constraints   #
-
+##flow graph window constraints        @{
 MIN_WINDOW_WIDTH = 600
 MAX_WINDOW_WIDTH = 2400
 
 MIN_WINDOW_HEIGHT = 400
 MAX_WINDOW_HEIGHT = 1800
address@hidden
 
-#      dialog constraints      #
-
+##dialog constraints   @{
 MIN_DIALOG_WIDTH = 400
 MIN_DIALOG_HEIGHT = 500
address@hidden
 
-#      misc window constraints #
-
+##misc window constraints      @{
 REPORTS_WINDOW_HEIGHT = 80
 
 SIGNAL_BLOCK_SELECTION_WINDOW_WIDTH = 250
@@ -93,27 +92,31 @@
 
 VARIABLE_MODIFICATION_WINDOW_WIDTH = 250
 VARIABLE_MODIFICATION_WINDOW_HEIGHT = 150
address@hidden
 
 
######################################################################################################
-#      Constraints for the sliders in the runnable flow graph
+## Constraints for the sliders in the runnable flow graph @{
 
######################################################################################################
 
-''' The number of tics for a slider.   '''
+##The number of tics for a slider.
 DEFAULT_SLIDER_STEPS = 100
 
-''' The max width that a row of sliders can use '''
+##The max width that a row of sliders can use.
 MAX_SLIDERS_WIDTH = 600
 
-'''    The width in pixels.    '''
+##Slider width in pixels
 DEFAULT_SLIDER_WIDTH = 200
+##Slider width in pixels
 MAX_SLIDER_WIDTH = 300
+##Slider width in pixels
 MIN_SLIDER_WIDTH = 100
 
-'''    The height in pixels.   '''
+##The height in pixels.
 SLIDER_HEIGHT = 20
address@hidden
 
 
######################################################################################################
-#      Constraints on displayable labels and sockets
+## Constraints on displayable labels and sockets @{
 
######################################################################################################
 
 LABEL_SEPARATION = 4
@@ -128,70 +131,72 @@
 PARAM_FONT = 'Sans 8'
 SIGNAL_BLOCK_FONT = 'Sans 9 Bold'
 SOCKET_FONT = 'Sans 8'
address@hidden
 
 
######################################################################################################
-#      Dragging, scrolling, and redrawing constants for the flow graph window 
in pixels
+## Dragging, scrolling, and redrawing constants for the flow graph window in 
pixels @{
 
######################################################################################################
 
-"""    How close can the mouse get to the window border before mouse events 
are ignored.       """
+##How close can the mouse get to the window border before mouse events are 
ignored.
 BORDER_PROXIMITY_SENSITIVITY = 10
 
-"""    How close can the mouse get to the edge of the visible window before 
scrolling is invoked.      """
+##How close can the mouse get to the edge of the visible window before 
scrolling is invoked.
 SCROLL_PROXIMITY_SENSITIVITY = 30
 
-"""    When the window has to be scrolled, move it this distance in the 
required direction.    """
+##When the window has to be scrolled, move it this distance in the required 
direction.
 SCROLL_DISTANCE = 15
 
-"""    Do not draw more than this many sockets on one side of a signal block.  
"""
+##Do not draw more than this many sockets on one side of a signal block.
 MAX_NUM_SOCKETS = 20
 
-"""    The redrawing sensitivity, how many motion detection events must occur 
before a redraw? """
+##The redrawing sensitivity, how many motion detection events must occur 
before a redraw?
 MOTION_DETECT_REDRAWING_SENSITIVITY = 3
address@hidden
 
 
######################################################################################################
 #      A state is recorded for each change to the flow graph, the size 
dictates how many states we can record 
 
######################################################################################################
 
-"""    The size of the state saving cache in the flow graph (for undo/redo 
functionality)      """
+##The size of the state saving cache in the flow graph (for undo/redo 
functionality)
 STATE_CACHE_SIZE = 42
 
 
######################################################################################################
-#      Constansts dealing with File Paths
+## Constansts dealing with File Paths @{
 
######################################################################################################
 
-"""    Location of the python src directory.   """
+##Location of the python src directory.
 SRC_DIR = os.path.abspath(os.path.dirname(__file__))
 
-"""    Location of external data files """
+##Location of external data files.
 DATA_DIR = os.path.abspath(SRC_DIR+'/../data/')
 
-"""    The setting for a blank flow graph      """
+##The setting for a blank flow graph.
 INITIAL_FLOW_GRAPH_FILE = 
os.path.abspath(DATA_DIR+'/initial_flow_graph.grc.xml')
 
-"""    The default file extension for file open and save dialogs.      """
+##The default file extension for file open and save dialogs.
 DEFAULT_FILE_EXTENSION = '.grc.xml'
 
-""" The default file extension for saving flow graph snap shots.       """
+##The default file extension for saving flow graph snap shots.
 IMAGE_FILE_EXTENSION = '.png'
 
-"""    The default path for the open/save dialogs.     """
+##The default path for the open/save dialogs.
 DEFAULT_FILE_PATH = os.path.expanduser('~')+'/'
 
-"""    The default icon for all windows.       """
+##The default icon for all windows.
 PY_GTK_ICON = os.path.abspath(DATA_DIR+'/grc-icon-256.png')
 WX_APP_ICON = os.path.abspath(DATA_DIR+'/grc-icon-32.png')
 #>>> platform dependency! wx under cygwin has issues with icon paths   #
 if sys.platform == 'cygwin': WX_APP_ICON = None
 
-""" The default binary to execute python files.        """
+##The default binary to execute python files.
 PYEXEC = 'python'
 #>>> platform dependency! MacOS requires pythonw to run wx apps        #
 if sys.platform == 'darwin': PYEXEC = 'pythonw'
 
-""" The default command to run a flow graph file       """
+##The default command to run a flow graph file.
 DEFAULT_FLOW_GRAPH_EXEC = '%s %s/ExecFlowGraphGUI.py'%(PYEXEC, SRC_DIR)
 
-"""    The default user preferences file.      """
+##The default user preferences file.
 PREFERENCES_FILE_PATH = os.path.abspath(DEFAULT_FILE_PATH + '/.grc.xml')
address@hidden
 
-

Modified: grc/branches/jblum_work/src/DataTypes.py
===================================================================
--- grc/branches/jblum_work/src/DataTypes.py    2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/DataTypes.py    2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       DataTypes.py 
-       Josh Blum
-       All the data types for sockets and params. Contains parsing and 
validity checks.
-"""
address@hidden DataTypes
+#All the data types for sockets and params. Contains parsing and validity 
checks.
address@hidden Josh Blum
 
 import MathExprParser
 import Variables
@@ -43,7 +41,8 @@
                self.set_data(data)     
                self.max = max  
                self.min = min  
-               self.msg = ''   #parser messages
+               ##parser messages
+               self.msg = ''   
        def set_data(self, data):
                """!
                Store the data as a string.

Modified: grc/branches/jblum_work/src/Editor.py
===================================================================
--- grc/branches/jblum_work/src/Editor.py       2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/Editor.py       2007-06-12 06:52:04 UTC (rev 
5768)
@@ -17,11 +17,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Editor.py 
-       Josh Blum
-       Execute the flow graph editor GUI. This file must be called by the 
python interpreter.
-"""
address@hidden Editor 
+#Execute the flow graph editor GUI. This file must be called by the python 
interpreter.
address@hidden Josh Blum
 
 from Constants import VERSION,DEFAULT_FILE_EXTENSION
 from optparse import OptionParser

Modified: grc/branches/jblum_work/src/Elements/Connection.py
===================================================================
--- grc/branches/jblum_work/src/Elements/Connection.py  2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Elements/Connection.py  2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/Connection.py 
-       Josh Blum
-       The elemental connection of input and output sockets.
-"""
address@hidden Elements.Connection
+#The elemental connection of input and output sockets.
address@hidden Josh Blum
 
 from Element import Element            
 import Utils

Modified: grc/branches/jblum_work/src/Elements/Element.py
===================================================================
--- grc/branches/jblum_work/src/Elements/Element.py     2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Elements/Element.py     2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,12 +16,10 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/Element.py 
-       Josh Blum
-       The base class for graphical elements such as:
-       signal blocks, input sockets, output sockets and connections
-"""
address@hidden Elements.Element
+#The base class for graphical elements such as:
+#signal blocks, input sockets, output sockets and connections.
address@hidden Josh Blum
 
 from Constants import POSSIBLE_ROTATIONS,DIR_LEFT,DIR_RIGHT
 

Modified: grc/branches/jblum_work/src/Elements/GraphicalConnection.py
===================================================================
--- grc/branches/jblum_work/src/Elements/GraphicalConnection.py 2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Elements/GraphicalConnection.py 2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/GraphicalConnection.py 
-       Josh Blum
-       The graphical connection for input/output sockets.
-"""
address@hidden Elements.GraphicalConnection
+#The graphical connection for input/output sockets.
address@hidden Josh Blum
 
 import DataTypes
 import Utils

Modified: grc/branches/jblum_work/src/Elements/GraphicalElement.py
===================================================================
--- grc/branches/jblum_work/src/Elements/GraphicalElement.py    2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Elements/GraphicalElement.py    2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,12 +16,11 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/GraphicalElement.py 
-       Josh Blum
-       base class for graphical elements such as:
-       signal blocks, input sockets, output sockets and connections
-"""
address@hidden Elements.GraphicalElement
+#Base class for graphical elements such as:
+#signal blocks, input sockets, output sockets and connections.
address@hidden Josh Blum
+
 from Constants import *
 from Element import Element
 import Colors

Modified: grc/branches/jblum_work/src/Elements/GraphicalParam.py
===================================================================
--- grc/branches/jblum_work/src/Elements/GraphicalParam.py      2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Elements/GraphicalParam.py      2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/GraphicalParam.py 
-       Josh Blum
-       GTK objects for handling input and the signal block parameter class.
-"""
address@hidden Elements.GraphicalParam
+#GTK objects for handling input and the signal block parameter class.
address@hidden Josh Blum
 
 from Param import Param
 from DataTypes import *

Modified: grc/branches/jblum_work/src/Elements/GraphicalSignalBlock.py
===================================================================
--- grc/branches/jblum_work/src/Elements/GraphicalSignalBlock.py        
2007-06-11 23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Elements/GraphicalSignalBlock.py        
2007-06-12 06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/GraphicalSignalBlock.py 
-       Josh Blum
-       the graphical signal block
-"""
address@hidden Elements.GraphicalSignalBlock
+#The graphical signal block.
address@hidden Josh Blum
 
 from SignalBlock import SignalBlock
 import Utils

Modified: grc/branches/jblum_work/src/Elements/GraphicalSocket.py
===================================================================
--- grc/branches/jblum_work/src/Elements/GraphicalSocket.py     2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Elements/GraphicalSocket.py     2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/GraphicalSocket.py 
-       Josh Blum
-       the graphical input/output sockets of the signal block
-"""
address@hidden Elements.GraphicalSocket
+#The graphical input/output sockets of the signal block.
address@hidden Josh Blum
 
 import Utils
 from Socket import Socket

Modified: grc/branches/jblum_work/src/Elements/Param.py
===================================================================
--- grc/branches/jblum_work/src/Elements/Param.py       2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Elements/Param.py       2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/Param.py 
-       Josh Blum
-       A signal block parameter.
-"""
address@hidden Elements.Param
+#A signal block parameter.
address@hidden Josh Blum
 
 class Param:
        """ This class holds a single signal block parameter, 

Modified: grc/branches/jblum_work/src/Elements/SignalBlock.py
===================================================================
--- grc/branches/jblum_work/src/Elements/SignalBlock.py 2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Elements/SignalBlock.py 2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/SignalBlock.py 
-       Josh Blum
-       The elemental signal block
-"""
address@hidden Elements.SignalBlock
+#The elemental signal block.
address@hidden Josh Blum
 
 from Element import Element
 import Utils

Modified: grc/branches/jblum_work/src/Elements/Socket.py
===================================================================
--- grc/branches/jblum_work/src/Elements/Socket.py      2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Elements/Socket.py      2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/Socket.py 
-       Josh Blum
-       The elemental input and output sockets of a signal block
-"""
address@hidden Elements.Socket
+#The elemental input and output sockets of a signal block.
address@hidden Josh Blum
 
 from Element import Element
 import Utils,DataTypes

Modified: grc/branches/jblum_work/src/Elements/Utils.py
===================================================================
--- grc/branches/jblum_work/src/Elements/Utils.py       2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Elements/Utils.py       2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,10 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/Utils.py
-       Shared fucntions and exceptions for flow graph elements.
-"""
address@hidden Elements.Utils
+#Shared fucntions and exceptions for flow graph elements.
address@hidden Josh Blum
 
 from SignalBlock import SignalBlock
 from Socket import OutputSocket,InputSocket

Modified: grc/branches/jblum_work/src/Elements/__init__.py
===================================================================
--- grc/branches/jblum_work/src/Elements/__init__.py    2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Elements/__init__.py    2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,10 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Elements/__init__.py
-       All elements used in a flow graph go into this package.
-"""
address@hidden Elements.__init__
+#All elements used in a flow graph go into this package.
address@hidden Josh Blum
 
 import Utils
 

Modified: grc/branches/jblum_work/src/ExecFlowGraph.py
===================================================================
--- grc/branches/jblum_work/src/ExecFlowGraph.py        2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/ExecFlowGraph.py        2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -17,11 +17,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       ExecFlowGraph.py 
-       Josh Blum
-       Use a xml input file to build and run a gnu radio flow graph without 
graphics.
-"""
address@hidden ExecFlowGraph 
+#Use an xml input file to build and run a gnu radio flow graph without 
graphics.
address@hidden Josh Blum
 
 import ParseXML
 import Variables

Modified: grc/branches/jblum_work/src/ExecFlowGraphGUI.py
===================================================================
--- grc/branches/jblum_work/src/ExecFlowGraphGUI.py     2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/ExecFlowGraphGUI.py     2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -17,11 +17,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       ExecFlowGraphGUI.py 
-       Josh Blum       
-       Use a xml input file to build and run a gnu radio flow graph with wx 
GUI elements.
-"""
address@hidden ExecFlowGraphGUI 
+#Use an xml input file to build and run a gnu radio flow graph with wx GUI 
elements.
address@hidden Josh Blum
 
 import Variables
 from ExecFlowGraph import FlowGraphBuilder,FlowGraphOptionParser

Modified: grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py
===================================================================
--- grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py  2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/ExecFlowGraphXMLRPC.py  2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -17,12 +17,20 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       ExecFlowGraphXMLRPC.py 
-       Josh Blum
-       Use a xml input file to build and run a gnu radio flow graph without 
graphics.
-       Create an XMLRPC sever to control the running flow graph.
-"""
address@hidden ExecFlowGraphXMLRPC 
+#Use a xml input file to build and run a gnu radio flow graph without graphics.
+#Create an XMLRPC sever to control the running flow graph.
address@hidden @n XMLRPC access functions:
address@hidden var_has_range(key): returns true if the variable represented by 
key has a range @n
address@hidden var_exists(key): returns true if the variable represented by key 
exists @n
address@hidden get_var_key_list(): returns a list of keys representing all 
registered variables @n
address@hidden get_var(key): returns the value of the variable represented by 
key @n
address@hidden get_var_range(key): returns the (min,max) of the variable 
represented by key @n
address@hidden set_var(key, new_value): sets the new value of the variable 
represented by key @n
address@hidden start_fg(): starts the flow graph @n
address@hidden stop_fg(): stops the flow graph @n
+#
address@hidden Josh Blum
 
 from SimpleXMLRPCServer import SimpleXMLRPCServer
 from xmlrpclib import Error

Modified: grc/branches/jblum_work/src/Graphics/Bars.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/Bars.py        2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Graphics/Bars.py        2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,18 +16,17 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/Bars.py 
-       Josh Blum
-       this file will create the GUI's toolbar and menubar
-"""
address@hidden Graphics.Bars
+#Create the GUI's toolbar and menubar
address@hidden Josh Blum
 
 from Actions import *
 import pygtk
 pygtk.require('2.0')
 import gtk
                                        
-TOOLBAR_LIST = [
+##The list of actions for the toolbar.
+TOOLBAR_LIST = (
        FLOW_GRAPH_NEW,
        FLOW_GRAPH_OPEN,
        FLOW_GRAPH_SAVE,
@@ -43,9 +42,10 @@
        ELEMENT_DELETE,
        SIGNAL_BLOCK_ROTATE_LEFT,
        SIGNAL_BLOCK_ROTATE_RIGHT,                                              
-]
-                                       
-MENU_BAR_LIST = [
+)
+
+##The list of actions and categories for the menu bar.                         
        
+MENU_BAR_LIST = (
        (gtk.Action('File', '_File', None, None), [
                FLOW_GRAPH_NEW,
                FLOW_GRAPH_OPEN,
@@ -80,9 +80,8 @@
                HOTKEYS_WINDOW_DISPLAY,
                MATH_EXPR_WINDOW_DISPLAY,
                USRP_DIAGNOSTICS_DISPLAY,
-       ])
-                                                                               
                
-]
+       ]),                                                                     
                        
+)
 
 class Toolbar(gtk.Toolbar):
        """     Toolbar is a gtk Toolbar with actions added from the toolbar 
list       """     

Modified: grc/branches/jblum_work/src/Graphics/Dialogs.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/Dialogs.py     2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Graphics/Dialogs.py     2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/Dialogs.py 
-       Josh Blum
-       Misc Dialogs
-"""
address@hidden Graphics.Dialogs
+#Misc dialogs.
address@hidden Josh Blum
 
 import Colors
 import pygtk

Modified: grc/branches/jblum_work/src/Graphics/FlowGraph.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/FlowGraph.py   2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Graphics/FlowGraph.py   2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-""" 
-       Graphics/FlowGraph.py   
-       Josh Blum
-       flow graph structure for storing signal blocks and their connections
-"""
address@hidden Graphics.FlowGraph
+#A flow graph structure for storing signal blocks and their connections.
address@hidden Josh Blum
 
 from Constants import *
 from Actions import *

Modified: grc/branches/jblum_work/src/Graphics/FlowGraphFileDialog.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/FlowGraphFileDialog.py 2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Graphics/FlowGraphFileDialog.py 2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/FlowGraphFileDialog.py 
-       Josh Blum
-       The open/save dialog for flow graph files and screen shots
-"""
address@hidden Graphics.FlowGraphFileDialog
+#The open/save dialog for flow graph files and screen shots.
address@hidden Josh Blum
 
 import pygtk
 pygtk.require('2.0')

Modified: grc/branches/jblum_work/src/Graphics/MainWindow.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/MainWindow.py  2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Graphics/MainWindow.py  2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/MainWindow.py 
-       Josh Blum
-       The main window, containing all windows, tool bars, and menu bars.
-"""
address@hidden Graphics.MainWindow
+#The main window, containing all windows, tool bars, and menu bars.
address@hidden Josh Blum
 
 from Constants import *
 import pygtk

Modified: grc/branches/jblum_work/src/Graphics/SignalBlockParamsDialog.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/SignalBlockParamsDialog.py     
2007-06-11 23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Graphics/SignalBlockParamsDialog.py     
2007-06-12 06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/SignalBlockParamsDialog.py 
-       Josh Blum
-       A dialog for editing a signal block's parameters.
-"""
address@hidden Graphics.SignalBlockParamsDialog
+#A dialog for editing a signal block's parameters.
address@hidden Josh Blum
 
 import pygtk
 pygtk.require('2.0')

Modified: grc/branches/jblum_work/src/Graphics/SignalBlockSelectionWindow.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/SignalBlockSelectionWindow.py  
2007-06-11 23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Graphics/SignalBlockSelectionWindow.py  
2007-06-12 06:52:04 UTC (rev 5768)
@@ -16,12 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/SignalBlockSelectionWindow.py 
-       Josh Blum
-       The signal block selection window.
-       Gives the user a tree selection to choose a signal block.
-"""
address@hidden Graphics.SignalBlockSelectionWindow
+#The signal block selection window gives the user a tree selection to choose a 
signal block.
address@hidden Josh Blum
 
 from Constants import *
 import pygtk

Modified: grc/branches/jblum_work/src/Graphics/USRPDiagnostics.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/USRPDiagnostics.py     2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Graphics/USRPDiagnostics.py     2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""    
-       Graphics/USRPDiagnostics.py     
-       Josh Blum
-       A dialog for querying USRP subdevices. USRP interfacing methods 
encapsulated here.
-"""
address@hidden Graphics.USRPDiagnostics
+#A dialog for querying USRP subdevices. USRP interfacing methods encapsulated 
here.
address@hidden Josh Blum
 
 import pygtk
 pygtk.require('2.0')

Modified: grc/branches/jblum_work/src/Graphics/VariableModificationWindow.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/VariableModificationWindow.py  
2007-06-11 23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/Graphics/VariableModificationWindow.py  
2007-06-12 06:52:04 UTC (rev 5768)
@@ -16,12 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/Windows/VariableModificationWindow.py 
-       Josh Blum
-       The variable modification window. 
-       Allows the user to enter variables and slider information.
-"""
address@hidden Graphics.VariableModificationWindow
+#The variable modification window allows the user to enter variables (keys, 
values, ranges).
address@hidden Josh Blum
 
 from Constants import *
 from Actions import VARIABLE_MODIFY, NOTHING_SELECT

Modified: grc/branches/jblum_work/src/Graphics/__init__.py
===================================================================
--- grc/branches/jblum_work/src/Graphics/__init__.py    2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/Graphics/__init__.py    2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,10 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Graphics/__init__.py    
-       gtk based classes go into this package
-"""
address@hidden Graphics.__init__
+#GTK based classes go into this package.
address@hidden Josh Blum
 
 #      only import the modules that need external access #
 from MainWindow import MainWindow

Modified: grc/branches/jblum_work/src/MathExprParser.py
===================================================================
--- grc/branches/jblum_work/src/MathExprParser.py       2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/MathExprParser.py       2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,14 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       MathExprParser.py 
-       Josh Blum
-       This file provides:
-       eval_expr for evaluating string expressions,
-       verify_complex, verify_float, verify_int for casting numbers,
-       and verify_number for picking the best representation.
-"""
address@hidden MathExprParser
+#Evaluate mathematical expressions and provide utilties to cast numbers.
address@hidden Josh Blum
 
 import math,cmath
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/Messages.py
===================================================================
--- grc/branches/jblum_work/src/Messages.py     2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/Messages.py     2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Messages.py 
-       Josh Blum
-       Handle all of the system messages and error reports.
-"""
address@hidden Messages
+#Handle all of the system messages and error reports.
address@hidden Josh Blum
 
 from Constants import VERSION,PREFERENCES_FILE_PATH
 

Modified: grc/branches/jblum_work/src/ParseXML.py
===================================================================
--- grc/branches/jblum_work/src/ParseXML.py     2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/ParseXML.py     2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       ParseXML.py 
-       Josh Blum
-       methods for parsing xml files to and from nested data
-"""
address@hidden ParseXML
+#Parse xml files to nested data and vice-versa.
address@hidden Josh Blum
 
 import xml.dom.minidom
 import xml.dom.ext

Modified: grc/branches/jblum_work/src/Preferences.py
===================================================================
--- grc/branches/jblum_work/src/Preferences.py  2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/Preferences.py  2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Preferences.py 
-       Josh Blum
-       Holds global preferences stored as GraphicalParams.
-"""
address@hidden Preferences
+#Holds global preferences stored as GraphicalParams.
address@hidden Josh Blum
 
 from DataTypes import Bool,FileOpen,Enum,Int
 from Elements import GraphicalParam

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Coders.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Coders.py       2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Coders.py       2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Coders.py 
-       Josh Blum
-       Encode and Decode.
-"""
address@hidden SignalBlockDefs.Coders
+#Encode and decode.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Conversions.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Conversions.py  2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Conversions.py  2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Conversions.py 
-       Josh Blum
-       Convert between data types.
-"""
address@hidden SignalBlockDefs.Conversions
+#Convert between data types.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Filters.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Filters.py      2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Filters.py      2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Filters.py 
-       Josh Blum
-       Taps generators are from gr.firdes. Most FIR filters are implemented 
and a few misc ones.
-"""
address@hidden SignalBlockDefs.Filters
+#Taps generators are from gr.firdes. Most FIR filters are implemented and a 
few misc ones.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/GraphicalSinks.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/GraphicalSinks.py       
2007-06-11 23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/GraphicalSinks.py       
2007-06-12 06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/GraphicalSinks.py 
-       Josh Blum
-       Various graphical sinks.
-"""
address@hidden SignalBlockDefs.GraphicalSinks
+#Various graphical sinks.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Misc.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Misc.py 2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Misc.py 2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Misc.py 
-       Josh Blum
-       These blocks were not categorized. Try to keep the number of misc 
blocks small.
-"""
address@hidden SignalBlockDefs.Misc
+#These blocks were not categorized. Try to keep the number of misc blocks 
small.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Modulators.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Modulators.py   2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Modulators.py   2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Modulations.py 
-       Josh Blum
-       Various modulation schemes.
-"""
address@hidden SignalBlockDefs.Modulations
+#Various modulation schemes.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Operators.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Operators.py    2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Operators.py    2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Operations.py 
-       Josh Blum
-       These blocks implement basic mathematical operations + - * / log10...
-"""
address@hidden SignalBlockDefs.Operators
+#These blocks implement basic mathematical operations + - * / log10...
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockConstants.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockConstants.py 
2007-06-11 23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockConstants.py 
2007-06-12 06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/SignalBlockConstants.py 
-       Josh Blum
-       Constants used by the signal block definitions.
-"""
address@hidden SignalBlockDefs.SignalBlockConstants
+#Constants used by the signal block definitions.
address@hidden Josh Blum
 
 from DataTypes import *
 

Modified: grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockTree.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockTree.py      
2007-06-11 23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/SignalBlockTree.py      
2007-06-12 06:52:04 UTC (rev 5768)
@@ -16,12 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/SignalBlockTree.py 
-       Josh Blum
-       The data structure to categorize the signal blocks,
-       and to map id tags to block building functions.
-"""
address@hidden SignalBlockDefs.SignalBlockTree
+#The data structure to categorize the signal blocks, and to map id tags to 
block building functions.
address@hidden Josh Blum
 
 from Elements import SignalBlock
 import Sources
@@ -64,7 +61,7 @@
                                ('Waterfall Sink', 
GraphicalSinks.WaterfallSink),
                                ('Constellation Sink', 
GraphicalSinks.ConstellationSink),
                        ]),
-                       ('Operations', [                                        
                
+                       ('Operators', [                                         
        
                                ('Add', Operators.Add),
                                ('Subtract', Operators.Subtract),
                                ('Multiply', Operators.Multiply),               
                

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Sinks.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Sinks.py        2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Sinks.py        2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Sinks.py 
-       Josh Blum
-       Various data sinks.
-"""
address@hidden SignalBlockDefs.Sinks
+#Various data sinks.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Sources.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Sources.py      2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Sources.py      2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Sources.py 
-       Josh Blum
-       Various data sources.
-"""
address@hidden SignalBlockDefs.Sources
+#Various data sources.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/Trellis.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/Trellis.py      2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/Trellis.py      2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/Trellis.py 
-       Josh Blum
-       Trellis Blocks by: Achilleas Anastasopoulos
-"""
address@hidden SignalBlockDefs.Trellis
+#Trellis blocks.
address@hidden Achilleas Anastasopoulos
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/USRP.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/USRP.py 2007-06-11 23:38:59 UTC 
(rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/USRP.py 2007-06-12 06:52:04 UTC 
(rev 5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/USRP.py 
-       Josh Blum
-       The source and sink blocks for the USRP.
-"""
address@hidden SignalBlockDefs.USRP
+#The source and sink blocks for the USRP.
address@hidden Josh Blum
 
 from DataTypes import *
 from gnuradio import gr

Modified: grc/branches/jblum_work/src/SignalBlockDefs/__init__.py
===================================================================
--- grc/branches/jblum_work/src/SignalBlockDefs/__init__.py     2007-06-11 
23:38:59 UTC (rev 5767)
+++ grc/branches/jblum_work/src/SignalBlockDefs/__init__.py     2007-06-12 
06:52:04 UTC (rev 5768)
@@ -16,10 +16,8 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       SignalBlockDefs/__init__.py 
-       Josh Blum
-       Build a signal block represented by a specific tag.
-"""
address@hidden SignalBlockDefs.__init__
+#Package for signal block definitions.
address@hidden Josh Blum
 
 from SignalBlockTree import SB_TREE,get_signal_block,TagNotFoundException

Modified: grc/branches/jblum_work/src/StateCache.py
===================================================================
--- grc/branches/jblum_work/src/StateCache.py   2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/StateCache.py   2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,11 +16,9 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""    
-       StateCache.py   
-       Josh Blum
-       Stores the flow graph states to drive the undo/redo and save interface.
-"""
address@hidden StateCache
+#Stores the flow graph states to drive the undo/redo and save interface.
address@hidden Josh Blum
 
 from Actions import FLOW_GRAPH_UNDO, FLOW_GRAPH_REDO, get_action_from_name
 from Constants import STATE_CACHE_SIZE

Modified: grc/branches/jblum_work/src/Variables.py
===================================================================
--- grc/branches/jblum_work/src/Variables.py    2007-06-11 23:38:59 UTC (rev 
5767)
+++ grc/branches/jblum_work/src/Variables.py    2007-06-12 06:52:04 UTC (rev 
5768)
@@ -16,25 +16,23 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
 """
-"""
-       Variables.py 
-       Josh Blum
-       Holds variable names, their values, and ranges.
-"""
address@hidden Variables
+#Holds variable names, their values, and ranges.
address@hidden Josh Blum
 
 from Constants import DEFAULT_SLIDER_STEPS
 
-
-""" Hold the current variables for the running program. 
-The dictionary maps keys to values,ranges.     """
+##Hold the variables for the executing program. This dictionary maps keys to 
values,ranges.
 VARS_DICT = dict()
 
-VAR_MARKER = '$' #place this character before a variable
+##place this character before a variable
+VAR_MARKER = '$' 
 
-get_keys = VARS_DICT.keys      #get a list of variable keys
+##get a list of variable keys
+get_keys = VARS_DICT.keys      
 
 def clear_vars():
-       """ Call unregister on every var.       """
+       """Call unregister on every var key."""
        for key in VARS_DICT.keys(): unregister(key)
 
 def register(key, value, min='', max='', step=''):





reply via email to

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