<?xml version="1.0"?>
<!--
###################################################
##Interleaved Short to Complex:
###################################################
 -->
<block>
	<name>IShort To Complex</name>
	<key>blocks_interleaved_short_to_complex</key>
	<import>from gnuradio import blocks</import>
	<make>blocks.interleaved_short_to_complex($vector_input, $swap)</make>
	<callback>set_swap($swap)</callback>
    <param>
        <name>Vector Input</name>
        <key>vector_input</key>
        <value>False</value>
        <type>enum</type>
        <option>
            <name>No</name>
            <key>False</key>
            <opt>vlen:1</opt>
        </option>
        <option>
            <name>Yes</name>
            <key>True</key>
            <opt>vlen:2</opt>
        </option>
    </param>
    <param>
		<name>Swap</name>
		<key>swap</key>
		<value>False</value>
		<type>enum</type>
		<hide>part</hide>
		<option>
			<name>Yes</name>
			<key>True</key>
		</option>
		<option>
			<name>No</name>
			<key>False</key>
		</option>
	</param>
	<sink>
		<name>in</name>
		<type>short</type>
        <vlen>$vector_input.vlen</vlen>
	</sink>
	<source>
		<name>out</name>
		<type>complex</type>
	</source>
</block>
