<?xml version="1.0"?>
<!--
######################################################
## Convenience wrapper around call to fides.low_pass()
######################################################
 -->
<block>
  <name>Low-pass Filter Taps</name>
  <key>variable_low_pass_filter_taps</key>
  <import>from gnuradio.filter import firdes</import>
  <var_make>
self.$(id) = $(id) = firdes.low_pass($gain, $samp_rate, $cutoff_freq, $width, $win, $beta)
  </var_make>
  <var_value>firdes.low_pass($gain, $samp_rate, $cutoff_freq, $width, $win, $beta)</var_value>
  <make></make>
  <param>
    <name>Gain</name>
    <key>gain</key>
    <value>1.0</value>
    <type>float</type>
  </param>
  <param>
    <name>Sample Rate (Hz)</name>
    <key>samp_rate</key>
    <value>samp_rate</value>
    <type>float</type>
  </param>
  <param>
    <name>Cutoff Freq (Hz)</name>
    <key>cutoff_freq</key>
    <type>float</type>
  </param>
  <param>
    <name>Transition Width (Hz)</name>
    <key>width</key>
    <type>float</type>
  </param>
  <param>
    <name>Window</name>
    <key>win</key>
    <value>firdes.WIN_HAMMING</value>
    <type>int</type>
    <option>
      <name>Hamming</name>
      <key>firdes.WIN_HAMMING</key>
    </option>
    <option>
      <name>Hann</name>
      <key>firdes.WIN_HANN</key>
    </option>
    <option>
      <name>Blackman</name>
      <key>firdes.WIN_BLACKMAN</key>
    </option>
    <option>
      <name>Rectangular</name>
      <key>firdes.WIN_RECTANGULAR</key>
    </option>
    <option>
      <name>Kaiser</name>
      <key>firdes.WIN_KAISER</key>
    </option>
  </param>
  <param>
    <name>Beta</name>
    <key>beta</key>
    <value>6.76</value>
    <type>float</type>
  </param>
  <doc>
    This variable is a convenience wrapper around a call to firdes.low_pass(...).

    The beta parameter only applies to the Kaiser window.
  </doc>
</block>
