<?xml version="1.0"?>
<!--
###################################################
##CFO Model
###################################################
 -->
<block>
	<name>CFO Model</name>
	<key>channels_cfo_model</key>
	<import>from gnuradio import channels</import>
	<make>channels.cfo_model(
        $srate,
        $stdev,
        $maxdev,
        $seed
)</make>
    <callback>set_std_dev($stdev)</callback>
    <callback>set_max_dev($maxdev)</callback>
    <callback>set_samp_rate($srate)</callback>
	<param>
		<name>Sample Rate Hz</name>
		<key>srate</key>
		<value>samp_rate</value>
		<type>real</type>
	</param>
	<param>
		<name>CFO Standard Deviation Hz per sample</name>
		<key>stdev</key>
		<value>0.01</value>
		<type>real</type>
	</param>
	<param>
		<name>Max CFO Bound Hz</name>
		<key>maxdev</key>
		<value>1e3</value>
		<type>real</type>
	</param>
	<param>
		<name>Seed</name>
		<key>seed</key>
		<value>0</value>
		<type>int</type>
	</param>
	<sink>
		<name>in</name>
		<type>complex</type>
	</sink>
	<source>
		<name>out</name>
		<type>complex</type>
	</source>
</block>
