Changeset 8933

Show
Ignore:
Timestamp:
07/17/08 18:51:21
Author:
jcorgan
Message:

Add square pulse matched filter.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gnuradio/branches/features/experimental-gui/const_top_block.py

    r8932 r8933  
    8282                                       antenna=antenna) 
    8383 
     84        # TODO: make this a configuration matched filter 
     85        # for now assume square pulses 
     86        self._filt = gr.fir_filter_ccf(1, [1.0,]*int(self._u.sample_rate()/bit_rate)) 
     87 
    8488        self._const = const_streamer.const_streamer(sample_rate=self._u.sample_rate(), 
    8589                                                    bit_rate=bit_rate, 
     
    9599        self._sink = gr.message_sink(gr.sizeof_gr_complex*frame_size, self._msgq, True) 
    96100                     
    97         self.connect(self._u, self._const, self._sink) 
     101        self.connect(self._u, self._filt, self._const, self._sink) 
    98102 
    99103    # "Setters", which are called externally to affect flowgraph operation