<?xml version="1.0"?>
<block>
	<name>Waterfall Sink</name>
	<key>satnogs_waterfall_sink</key>
	<import>import satnogs</import>
	<make>satnogs.waterfall_sink($samp_rate, $center_freq, $pps, $fft_size, $filename, $mode)</make>

	<param>
		<name>Sample Rate</name>
		<key>samp_rate</key>
		<value>samp_rate</value>
		<type>real</type>
	</param>

	<param>
		<name>FFT Size</name>
		<key>fft_size</key>
		<value>1024</value>
		<type>int</type>
	</param>


	<param>
		<name>Pixel Rows per Second</name>
		<key>pps</key>
		<value>10</value>
		<type>int</type>
	</param>

	<param>
		<name>Mode</name>
		<key>mode</key>
		<type>enum</type>
		<option>
			<name>Simple decimation</name>
			<key>0</key>
		</option>
		<option>
			<name>Max hold</name>
			<key>1</key>
		</option>
		<option>
			<name>Mean</name>
			<key>2</key>
		</option>
	</param>

	<param>
		<name>Center Frequency</name>
		<key>center_freq</key>
		<value>0.0</value>
		<type>real</type>
	</param>

	<param>
		<name>File</name>
		<key>filename</key>
		<value></value>
		<type>file_save</type>
	</param>
	
	<sink>
		<name>in</name>
		<type>complex</type>
	</sink>

</block>
