The Inspector (GNU Radio module gr-inspector)
gr::inspector::qtgui_inspector_sink_vf Class Referenceabstract

GUI for the inspector toolkit. More...

#include <qtgui_inspector_sink_vf.h>

Inheritance diagram for gr::inspector::qtgui_inspector_sink_vf:
gr::inspector::qtgui_inspector_sink_vf_impl

Public Types

typedef boost::shared_ptr< qtgui_inspector_sink_vfsptr
 

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...
 

Detailed Description

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:

  • map in: takes RF map from Signal Detector block and visualizes the included information in the plot
  • analysis_in: takes messages of analysis blocks and displays their content in the GUI plot.
  • map out: passes either the input message when manual selection is deactivated or passes RF map according to the user's manual settings.

Member Typedef Documentation

◆ sptr

Member Function Documentation

◆ make()

static sptr gr::inspector::qtgui_inspector_sink_vf::make ( double  samp_rate,
int  fft_len,
float  cfreq = 0,
int  rf_unit = 1000000,
int  msgports = 1,
bool  manual = false,
QWidget *  parent = nullptr 
)
static

Build a GUI sink instance.

Parameters
samp_rateSample rate of the input signal.
fft_lenVector input size and number of PSD sample points
cfreqCenter frequency of source. Set to 0 if only relative frequencies are desired downstream.
rf_unitDetermine which unit the GUI uses to display frequencies
msgportsNumber of message ports for analysis feedback
manualEnable manual signal selection
parentQWidget parent

◆ pyqwidget()

virtual void* gr::inspector::qtgui_inspector_sink_vf::pyqwidget ( )
pure virtual

◆ set_cfreq()

virtual void gr::inspector::qtgui_inspector_sink_vf::set_cfreq ( float  cfreq)
pure virtual

◆ set_rf_unit()

virtual void gr::inspector::qtgui_inspector_sink_vf::set_rf_unit ( int  unit)
pure virtual

◆ set_samp_rate()

virtual void gr::inspector::qtgui_inspector_sink_vf::set_samp_rate ( double  d_samp_rate)
pure virtual

The documentation for this class was generated from the following file: