<?xml version="1.0"?>
<block>
    <name>Burst Shaper</name>
    <key>digital_burst_shaper_xx</key>
    <category>[Core]/Packet Operators</category>
    <import>from gnuradio import digital</import>
    <make>digital.burst_shaper_$(type.fcn)($window, $pre_padding, $post_padding, $insert_phasing, $length_tag_name)</make>
    <param>
        <name>Type</name>
        <key>type</key>
        <type>enum</type>
        <option>
            <name>Float</name>
            <key>float</key>
            <opt>fcn:ff</opt>
	    <opt>taps:float_vector</opt>
        </option>
        <option>
            <name>Complex</name>
            <key>complex</key>
            <opt>fcn:cc</opt>
	    <opt>taps:complex_vector</opt>
        </option>
    </param>
    <param>
        <name>Window Taps</name>
        <key>window</key>
        <value>([])</value>
        <type>$(type.taps)</type>
    </param>
    <param>
        <name>Pre-padding Length</name>
        <key>pre_padding</key>
        <value>0</value>
        <type>int</type>
    </param>
    <param>
        <name>Post-padding Length</name>
        <key>post_padding</key>
        <value>0</value>
        <type>int</type>
    </param>
    <param>
        <name>Insert phasing symbols</name>
        <key>insert_phasing</key>
        <value>False</value>
        <type>enum</type>
        <option>
            <name>No</name>
            <key>False</key>
        </option>
        <option>
            <name>Yes</name>
            <key>True</key>
        </option>
    </param>
    <param>
        <name>Length Tag Name</name>
        <key>length_tag_name</key>
        <value>"packet_len"</value>
        <type>string</type>
    </param>
    <sink>
        <name>in</name>
        <type>$type</type>
    </sink>
    <source>
        <name>out</name>
        <type>$type</type>
    </source>
</block>
