![]() |
The Inspector (GNU Radio module gr-inspector)
|
GUI for the inspector toolkit. More...
#include <qtgui_inspector_sink_vf.h>
Public Types | |
typedef boost::shared_ptr< qtgui_inspector_sink_vf > | sptr |
Public Member Functions | |
virtual void | set_rf_unit (int unit)=0 |
virtual void | set_samp_rate (double d_samp_rate)=0 |
virtual void | set_cfreq (float cfreq)=0 |
virtual void * | pyqwidget ()=0 |
Static Public Member Functions | |
static sptr | make (double samp_rate, int fft_len, float cfreq=0, int rf_unit=1000000, int msgports=1, bool manual=false, QWidget *parent=nullptr) |
Build a GUI sink instance. More... | |
GUI for the inspector toolkit.
This GUI uses QT and QWT to create a graphical interface to control the inspector and get feedback about the detected and analyzed signals.
The PSD estimation of the Signal Detector block gets displayed here along with signal markers and informations. Manual signal selection can be done within the GUI created by this block.
Analysis blocks can pass information to the GUI block by providing messages in the tuple format
((pmt::intern("signal"), pmt::from_uint64(signal_no)), (pmt::intern("description1"), pmt::from_float(value1)), ...)
Controls: Use CTRL+LeftMouse to zoom, RightMouse to zoom out. This prevents confusion when in manual selection mode, where the signals are selected with LeftMouse.
Message ports:
typedef boost::shared_ptr<qtgui_inspector_sink_vf> gr::inspector::qtgui_inspector_sink_vf::sptr |
|
static |
Build a GUI sink instance.
samp_rate | Sample rate of the input signal. |
fft_len | Vector input size and number of PSD sample points |
cfreq | Center frequency of source. Set to 0 if only relative frequencies are desired downstream. |
rf_unit | Determine which unit the GUI uses to display frequencies |
msgports | Number of message ports for analysis feedback |
manual | Enable manual signal selection |
parent | QWidget parent |
|
pure virtual |
Implemented in gr::inspector::qtgui_inspector_sink_vf_impl.
|
pure virtual |
Implemented in gr::inspector::qtgui_inspector_sink_vf_impl.
|
pure virtual |
Implemented in gr::inspector::qtgui_inspector_sink_vf_impl.
|
pure virtual |
Implemented in gr::inspector::qtgui_inspector_sink_vf_impl.