commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] gnuradio-core AUTHORS ChangeLog src/python/gnur...


From: Eric Blossom
Subject: [Commit-gnuradio] gnuradio-core AUTHORS ChangeLog src/python/gnur...
Date: Wed, 05 Jul 2006 18:23:37 +0000

CVSROOT:        /sources/gnuradio
Module name:    gnuradio-core
Changes by:     Eric Blossom <eb>       06/07/05 18:23:37

Modified files:
        .              : AUTHORS ChangeLog 
Removed files:
        src/python/gnuradio/blksimpl: gmsk.py 

Log message:
        removed long deprecated GMSK implementation

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnuradio-core/AUTHORS?cvsroot=gnuradio&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/gnuradio-core/ChangeLog?cvsroot=gnuradio&r1=1.241&r2=1.242
http://cvs.savannah.gnu.org/viewcvs/gnuradio-core/src/python/gnuradio/blksimpl/gmsk.py?cvsroot=gnuradio&r1=1.3&r2=0

Patches:
Index: AUTHORS
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/AUTHORS,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- AUTHORS     29 May 2006 21:29:09 -0000      1.2
+++ AUTHORS     5 Jul 2006 18:23:37 -0000       1.3
@@ -8,3 +8,4 @@
 Bob McGwier N4HY <address@hidden>       wisdom, code, bugfixes.
 Krzysztof Kamieniecki <address@hidden>  bugfixes
 Andrew Thomas Beck <address@hidden> bugfixes
+Joshua Lackey <address@hidden> Original GMSK implementation.

Index: ChangeLog
===================================================================
RCS file: /sources/gnuradio/gnuradio-core/ChangeLog,v
retrieving revision 1.241
retrieving revision 1.242
diff -u -b -r1.241 -r1.242
--- ChangeLog   21 Jun 2006 03:56:11 -0000      1.241
+++ ChangeLog   5 Jul 2006 18:23:37 -0000       1.242
@@ -1,3 +1,9 @@
+2006-07-05  Eric Blossom  <address@hidden>
+
+       * src/python/gnuradio/blksimpl/gmsk.py: Removed long deprecated
+       code.  We'll give this a week or so for the dust to settle, then
+       we'll rename gmsk2.py to gmsk.py
+
 2006-06-20  Tom Rondeau  <address@hidden>
 
        * src/lib/general/gr_costas_loop_cc.{h,cc,i}: modified to support

Index: src/python/gnuradio/blksimpl/gmsk.py
===================================================================
RCS file: src/python/gnuradio/blksimpl/gmsk.py
diff -N src/python/gnuradio/blksimpl/gmsk.py
--- src/python/gnuradio/blksimpl/gmsk.py        23 Aug 2005 06:56:25 -0000      
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,130 +0,0 @@
-#!/usr/bin/env python
-
-# GMSK modulation and demodulation.  
-#
-#
-# Copyright 2005 Free Software Foundation, Inc.
-# 
-# This file is part of GNU Radio
-# 
-# GNU Radio is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2, or (at your option)
-# any later version.
-# 
-# GNU Radio is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-# 
-# You should have received a copy of the GNU General Public License
-# along with GNU Radio; see the file COPYING.  If not, write to
-# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
-# 
-
-# See http://noether.uoregon.edu/~jl/gmsk
-# See gnuradio-examples/python/gmsk for examples
-
-from gnuradio import gr
-from math import pi
-
-class gmsk_mod(gr.hier_block):
-
-       def __init__(self, fg, sps = 8, symbol_rate = 1625000.0 / 6.0,
-          bt = 0.3, p_size = 1024):
-               """
-               Hierarchical block for Gaussian Minimum Shift Key (GMSK)
-               modulation.
-
-               The input is a byte stream (unsigned char) and the
-               output is the complex modulated signal at baseband.
-
-               @param fg: flow graph
-               @type fg: flow graph
-               @param sps: samples per symbol
-               @type sps: integer
-               @param symbol_rate: symbols per second
-               @type symbol_rate: float
-               @param bt: Gaussian filter bandwidth * symbol time
-               @type bt: float
-               @param p_size: packet size (data to send between syncs)
-               @type p_size: integer
-               """
-
-               sample_rate = sps * symbol_rate # samples per second
-               ntaps = 2 * sps                 # up to 3 bits in filter at once
-               sensitivity = (pi / 2) / sps    # phase change per bit = pi / 2
-
-               # Input is a byte stream.
-               self.framer = gr.simple_framer(p_size)
-       
-               # Turn it into NRZ data.
-               self.nrz = gr.bytes_to_syms()
-
-               # Make samples per symbol copies
-               #interp_taps = (1,) * sps
-               interp_taps = (8,0,0,0,0,0,0,0)
-               self.interp = gr.interp_fir_filter_fff(sps, interp_taps)
-
-               # Form Gaussian filter
-               gaussian_taps = gr.firdes.gaussian(
-                  1.0,         # gain
-                  sample_rate,
-                  symbol_rate,
-                  bt,          # bandwidth * symbol time
-                  ntaps        # number of taps
-               )
-               self.gaussian_filter = gr.fir_filter_fff(1, gaussian_taps)
-       
-               # FM modulation
-               self.fmmod = gr.frequency_modulator_fc(sensitivity)
-               
-               # Connect
-               fg.connect(self.framer, self.nrz, self.interp,
-                  self.gaussian_filter, self.fmmod)
-
-               # Initialize base class
-               gr.hier_block.__init__(self, fg, self.framer, self.fmmod)
-
-
-class gmsk_demod(gr.hier_block):
-       def __init__(self, fg, sps = 8, symbol_rate = 1625000.0 / 6.0,
-          p_size = 1024):
-               """
-               Hierarchical block for Gaussian Minimum Shift Key (GMSK)
-               demodulation.
-
-               The input is the complex modulated signal at baseband
-               and the output is a stream of bytes.
-
-               @param fg: flow graph
-               @type fg: flow graph
-               @param sps: samples per symbol
-               @type sps: integer
-               @param symbol_rate: symbols per second
-               @type symbol_rate: float
-               @param p_size: packet size
-               @type p_size: integer
-               """
-               
-               # Demodulate FM
-               sensitivity = (pi / 2) / sps
-               self.fmdemod = gr.quadrature_demod_cf(1.0 / sensitivity)
-
-               # Integrate over a bit length to smooth noise
-               #integrate_taps = (1.0 / sps,) * sps
-               integrate_taps = (1.0,0,0,0,0,0,0,0,0)
-               self.integrate_filter = gr.fir_filter_fff(1, integrate_taps)
-
-               # Bit slice, try and find the center of the bit from the sync
-               # field placed by the framer, output p_size bytes at a time.
-               self.correlator = gr.simple_correlator(p_size)
-
-               # Connect
-               fg.connect(self.fmdemod, self.integrate_filter, self.correlator)
-
-               # Initialize base class
-               gr.hier_block.__init__(self, fg, self.fmdemod, self.correlator)
-
-# vim:ts=8




reply via email to

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