/usr/share/gnuradio/grc/blocks/fosphor_glfw_sink_c.xml is in gr-fosphor 3.7.0.2.7b6b996-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | <?xml version="1.0"?>
<block>
<name>fosphor sink (GLFW)</name>
<key>fosphor_glfw_sink_c</key>
<category>Instrumentation</category>
<import>from gnuradio import fosphor</import>
<import>from gnuradio.fft import window</import>
<make>fosphor.glfw_sink_c()
self.$(id).set_fft_window($wintype)
self.$(id).set_frequency_range($freq_center, $freq_span)
</make>
<callback>set_fft_window($wintype)</callback>
<callback>set_frequency_range($freq_center, $freq_span)</callback>
<param>
<name>Window Type</name>
<key>wintype</key>
<value>window.WIN_BLACKMAN_hARRIS</value>
<type>int</type>
<hide>part</hide>
<option>
<name>Blackman-harris</name>
<key>window.WIN_BLACKMAN_hARRIS</key>
</option>
<option>
<name>Hamming</name>
<key>window.WIN_HAMMING</key>
</option>
<option>
<name>Hann</name>
<key>window.WIN_HANN</key>
</option>
<option>
<name>Blackman</name>
<key>window.WIN_BLACKMAN</key>
</option>
<option>
<name>Rectangular</name>
<key>window.WIN_RECTANGULAR</key>
</option>
<option>
<name>Kaiser</name>
<key>window.WIN_KAISER</key>
</option>
</param>
<param>
<name>Center Frequency (Hz)</name>
<key>freq_center</key>
<value>0</value>
<type>real</type>
</param>
<param>
<name>Span (Hz)</name>
<key>freq_span</key>
<value>samp_rate</value>
<type>real</type>
</param>
<sink>
<name>in</name>
<type>complex</type>
</sink>
<doc>
Key Bindings
============
z: toggle zoom mode
a/d: move zoom frequency down/up
s/w: adjust zoom width
q/e: adjust screen split between waterfall and fft
space: pause display
(left)/(right) adjust dB/div
(up)/(down) adjust reference level
</doc>
</block>
|