- Peak detector delivers frequency instead of bin

git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@492 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2019-05-28 17:19:19 +00:00
parent 315932ea4e
commit dc6485e73f
6 changed files with 73 additions and 18 deletions
+13 -1
View File
@@ -4,7 +4,7 @@
<key>jay_peak_detect</key>
<category>[jay]</category>
<import>import jay</import>
<make>jay.peak_detect($vlen, $framerate, $peak_height_min, $peak_width_min, $peak_width_max, $alpha_s, $alpha_m)</make>
<make>jay.peak_detect($vlen, $framerate, $bandwidth, $fcenter, $peak_height_min, $peak_width_min, $peak_width_max, $alpha_s, $alpha_m)</make>
<!-- Make one 'param' node for every Parameter you want settable from the GUI.
Sub-nodes:
* name
@@ -21,8 +21,20 @@
<key>framerate</key>
<value>30</value>
<type>float</type>
</param>
<param>
<name>Bandwidth (Hz)</name>
<key>bandwidth</key>
<value>samp_rate</value>
<type>float</type>
</param>
<param>
<name>Center Frequency (Hz)</name>
<key>fcenter</key>
<value>0</value>
<type>float</type>
</param>
<param>
<name>Peak Height Minimum [dB]</name>
<key>peak_height_min</key>
<value>20</value>
+9 -1
View File
@@ -4,7 +4,15 @@
<key>jay_peak_manager</key>
<category>[jay]</category>
<import>import jay</import>
<make>jay.peak_manager()</make>
<make>jay.peak_manager($test)</make>
<param>
<name>Test</name>
<key>test</key>
<value>1024</value>
<type>int</type>
</param>
<sink>
<name>control</name>
<type>message</type>