aboutsummaryrefslogtreecommitdiffstats
path: root/gr-gmr1/grc/rach_detect_fft.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gr-gmr1/grc/rach_detect_fft.xml')
-rw-r--r--gr-gmr1/grc/rach_detect_fft.xml45
1 files changed, 44 insertions, 1 deletions
diff --git a/gr-gmr1/grc/rach_detect_fft.xml b/gr-gmr1/grc/rach_detect_fft.xml
index b67d016..406db06 100644
--- a/gr-gmr1/grc/rach_detect_fft.xml
+++ b/gr-gmr1/grc/rach_detect_fft.xml
@@ -3,8 +3,51 @@
<name>RACH FFT Detection</name>
<key>rach_detect_fft</key>
<category>GMR-1</category>
+ <import>import math</import>
<import>from gnuradio import gmr1</import>
- <make>gmr1.rach_detect_fft()</make>
+ <make>gmr1.rach_detect_fft($fft_size, $overlap_ratio, $threshold, $burst_length, $burst_offset, $freq_offset, $len_tag_key)</make>
+ <param>
+ <name>FFT size</name>
+ <key>fft_size</key>
+ <value>1 &lt;&lt; int(round(math.log(samp_rate / 1e3) / math.log(2)))</value>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Overlap ratio</name>
+ <key>overlap_ratio</key>
+ <value>2</value>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Detection Threshold</name>
+ <key>threshold</key>
+ <value>8.5</value>
+ <type>float</type>
+ </param>
+ <param>
+ <name>Burst length</name>
+ <key>burst_length</key>
+ <value>int(3 * samp_rate * 15e-3)</value>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Burst offset</name>
+ <key>burst_offset</key>
+ <value>0</value>
+ <type>int</type>
+ </param>
+ <param>
+ <name>Frequency offset</name>
+ <key>freq_offset</key>
+ <value>- (math.pi / 4.0) * (23400.0 / samp_rate)</value>
+ <type>float</type>
+ </param>
+ <param>
+ <name>Length Tag Name</name>
+ <key>len_tag_key</key>
+ <value>packet_len</value>
+ <type>string</type>
+ </param>
<sink>
<name>in</name>
<type>complex</type>